diff options
| author | Joe Tsai <joetsai@digital-static.net> | 2017-10-03 02:53:01 -0700 |
|---|---|---|
| committer | Joe Tsai <thebrokentoaster@gmail.com> | 2017-10-03 16:24:53 +0000 |
| commit | e04ff3d133913ae5665d0da1baeffdcd4dc93bdf (patch) | |
| tree | 57d30f36f8afa803a86e3a956301e5a232efa711 /src/archive/tar/reader.go | |
| parent | 5d1addf45dfed5b2227ae8835597b855562d9f61 (diff) | |
| download | go-e04ff3d133913ae5665d0da1baeffdcd4dc93bdf.tar.xz | |
archive/tar: fix typo in documentation
s/TypeSymLink/TypeSymlink/g
Change-Id: I2550843248eb27d90684d0036fe2add0b247ae5a
Reviewed-on: https://go-review.googlesource.com/67810
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/archive/tar/reader.go')
| -rw-r--r-- | src/archive/tar/reader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archive/tar/reader.go b/src/archive/tar/reader.go index 94fa417308..bde6e1205c 100644 --- a/src/archive/tar/reader.go +++ b/src/archive/tar/reader.go @@ -611,7 +611,7 @@ func readGNUSparseMap0x1(paxHdrs map[string]string) (sparseDatas, error) { // If the current file is sparse, then the regions marked as a hole // are read back as NUL-bytes. // -// Calling Read on special types like TypeLink, TypeSymLink, TypeChar, +// Calling Read on special types like TypeLink, TypeSymlink, TypeChar, // TypeBlock, TypeDir, and TypeFifo returns (0, io.EOF) regardless of what // the Header.Size claims. func (tr *Reader) Read(b []byte) (int, error) { |
