mirror of
https://github.com/golang/go
synced 2024-11-26 09:18:07 -07:00
740f7d7370
Many of the methods inside the archive/tar package don't need to be exported. Doing so sets a bad precedent that it's OK to export methods to indicate an internal public API. That's not a good idea in general, because exported methods increase cognitive load when reading code: the reader needs to consider whether the exported method might be used via some external interface or reflection. This CL should have no externally visible behaviour changes at all. Change-Id: I94a63de5e6a28e9ac8a283325217349ebce4f308 Reviewed-on: https://go-review.googlesource.com/c/go/+/341410 Reviewed-by: Joe Tsai <joetsai@digital-static.net> Trust: Joe Tsai <joetsai@digital-static.net> Trust: Michael Knyszek <mknyszek@google.com> |
||
---|---|---|
.. | ||
testdata | ||
common.go | ||
example_test.go | ||
format.go | ||
reader_test.go | ||
reader.go | ||
stat_actime1.go | ||
stat_actime2.go | ||
stat_unix.go | ||
strconv_test.go | ||
strconv.go | ||
tar_test.go | ||
writer_test.go | ||
writer.go |