Documentation
¶
Index ¶
- Variables
- func Close(f *os.File) error
- func CombinedOutput(c *exec.Cmd) ([]byte, error)
- func Create(s string) (f *os.File, err error)
- func CreateExclusiveWriteOnly(p string) (f *os.File, err error)
- func DeleteFilesAndDirs(args ...string) (err error)
- func DeleteFilesAndDirsSet(fs schnittstellen.SetLike[schnittstellen.Stringer]) (err error)
- func DirExists(path string) bool
- func Exists(path string) bool
- func IsTty(f *os.File) (ok bool)
- func Len() int
- func MakeDirNameWriterIgnoringHidden(wf func(string) error) func(string) error
- func Open(s string) (f *os.File, err error)
- func OpenExclusiveReadOnly(s string) (f *os.File, err error)
- func OpenExclusiveWriteOnly(s string) (f *os.File, err error)
- func OpenExclusiveWriteOnlyTruncate(s string) (f *os.File, err error)
- func OpenFile(name string, flag int, perm os.FileMode) (f *os.File, err error)
- func OpenFiles(p ...string) (err error)
- func ReadAllString(s ...string) (o string, err error)
- func ReadDir(ps ...string) (dirEntries []os.DirEntry, err error)
- func ReadDirNames(ps ...string) (names []string, err error)
- func ReadDirNamesLevel2(wf func(string) error, p string) (err error)
- func ReadDirNamesTo(wf func(string) error, p string) (err error)
- func Rename(src, dst string) (err error)
- func SetAllowUserChanges(paths ...string) (err error)
- func SetAllowUserChangesRecursive(paths ...string) (err error)
- func SetDisallowUserChanges(paths ...string) (err error)
- func TempDir() (d string, err error)
- func TempFile(d string) (f *os.File, err error)
- func TempFileInDir(dir string) (f *os.File, err error)
- func TempFileWithPattern(pattern string) (f *os.File, err error)
- type NopWriteCloser
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyFileList = errors.New("empty file list")
Functions ¶
func DeleteFilesAndDirs ¶
func DeleteFilesAndDirsSet ¶
func DeleteFilesAndDirsSet( fs schnittstellen.SetLike[schnittstellen.Stringer], ) (err error)
func ReadAllString ¶
func ReadDirNames ¶
func SetAllowUserChanges ¶
func SetDisallowUserChanges ¶
Types ¶
type NopWriteCloser ¶
func (NopWriteCloser) Close ¶
func (_ NopWriteCloser) Close() error
Click to show internal directories.
Click to hide internal directories.