Documentation ¶ Index ¶ func AbsPath(path string) (string, error) type Contenxt type Tar func NewTar(fs vfs.FS) *Tar func (t *Tar) AddBytes(path string, data []byte) *Tar func (t *Tar) AddPath(path string) *Tar func (t *Tar) Build() ([]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AbsPath ¶ func AbsPath(path string) (string, error) Types ¶ type Contenxt ¶ type Contenxt struct { Ctx context.Context FS vfs.FS } type Tar ¶ type Tar struct { // contains filtered or unexported fields } func NewTar ¶ func NewTar(fs vfs.FS) *Tar func (*Tar) AddBytes ¶ func (t *Tar) AddBytes(path string, data []byte) *Tar func (*Tar) AddPath ¶ func (t *Tar) AddPath(path string) *Tar func (*Tar) Build ¶ func (t *Tar) Build() ([]byte, error) Source Files ¶ View all Source files context.gopath.gotar.go Click to show internal directories. Click to hide internal directories.