Documentation
¶
Index ¶
- func Copy(dst, src billy.Filesystem) error
- func FileNames(repo DirReader) ([]string, error)
- func HasDotPrefixedSegment(fp string) bool
- func ReadFile(dir billy.Basic, name string) ([]byte, error)
- func ReadFromTarball(r io.Reader, fs billy.Filesystem) error
- func SumFileNameAndContents(fs billy.Filesystem) (string, error)
- func Walk(fs billy.Filesystem, root string, walkFn filepath.WalkFunc) error
- func WriteFile(dir billy.Basic, name string, data []byte, perm os.FileMode) error
- func WriteToTarball(wr io.Writer, fs billy.Filesystem) (deferErr error)
- type DirReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileNames ¶
FileNames returns name of non directory files For now this includes symlinks... this may change.
func HasDotPrefixedSegment ¶
func ReadFromTarball ¶
func SumFileNameAndContents ¶
func WriteFile ¶
WriteFile is based on the standard library function os.WriteFile but adds a dir parameter
func WriteToTarball ¶
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.