Versions in this module Expand all Collapse all v1 v1.2.0 Nov 2, 2026 Changes in this version + func Copy(from, into string, isDir bool) error + type Dir struct + func Open(path string) *Dir + func Temp() (*Dir, error) + func Unzip(archivePath string) (*Dir, error) + func (d *Dir) Capture(ctx context.Context, files []File) error + func (d *Dir) Close() error + func (d *Dir) Path() string + func (d *Dir) Snapshot(userDataDirID string) Snapshot + func (d *Dir) Zip(archivePath string) error + type File struct + IsDir bool + RelativePath string + UserDataDirID string + UserDataDirPath string + type Snapshot struct + func (s Snapshot) Path(relativePath string) (string, error)