Documentation
¶
Index ¶
- type Entry
- type FS
- func (fsys *FS) Encode(w io.Writer) error
- func (fsys *FS) Entry(name string) (*Entry, error)
- func (fsys *FS) Lstat(name string) (fs.FileInfo, error)
- func (fsys *FS) Open(name string) (fs.File, error)
- func (fsys *FS) ReadDir(name string) ([]fs.DirEntry, error)
- func (fsys *FS) ReadLink(name string) (string, error)
- func (fsys *FS) Readlink(name string) (string, error)
- func (fsys *FS) Stat(name string) (fs.FileInfo, error)
- type File
- type TOC
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
Header tar.Header
Offset int64
Filename string
// contains filtered or unexported fields
}
func Index ¶
Index returns a list of tar entries with their offsets.
This is primarily useful if you don't have an io.ReaderAt implementation handy but still want to know the offsets, for example if you're using something like: https://pkg.go.dev/cloud.google.com/go/storage#ObjectHandle.NewRangeReader
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.