Versions in this module Expand all Collapse all v0 v0.1.0 Jan 2, 2023 Changes in this version + type ErrInvalidFile struct + func (e *ErrInvalidFile) Error() string + type File struct + Path string + func NewFile(pathPaths ...string) File + func (f *File) Append(data []byte) error + func (f *File) AppendLines(data []string) error + func (f *File) AppendString(data string) error + func (f *File) Copy(destin string) error + func (f *File) Exists() (bool, error) + func (f *File) IsDir() (bool, error) + func (f *File) IsRegular() (bool, error) + func (f *File) List() ([]File, error) + func (f *File) Move(destin string) error + func (f *File) Name() string + func (f *File) PathAbs() (string, error) + func (f *File) PathAbsResolved() (string, error) + func (f *File) PathResolved() (string, error) + func (f *File) Permissions() (fs.FileMode, error) + func (f *File) Read() ([]byte, error) + func (f *File) ReadLines() ([]string, error) + func (f *File) ReadString() (string, error) + func (f *File) Write(data []byte) error + func (f *File) WriteLines(data []string) error + func (f *File) WriteString(data string) error