Documentation ¶ Index ¶ Constants func ErrInvalid(pathname string) error type Directory type FileError func (err FileError) Error() string func (err FileError) Unwrap() error type Filesystem Constants ¶ View Source const ( EBUSY = syscall.EBUSY EINVAL = syscall.EINVAL ) Variables ¶ This section is empty. Functions ¶ func ErrInvalid ¶ func ErrInvalid(pathname string) error EINVAL Types ¶ type Directory ¶ type Directory interface { fs.FileInfo fs.DirEntry Path() string Chdir(string) (Directory, error) } type FileError ¶ type FileError struct { Name string Errno syscall.Errno } func (FileError) Error ¶ func (err FileError) Error() string func (FileError) Unwrap ¶ func (err FileError) Unwrap() error type Filesystem ¶ type Filesystem interface { Root() string Protocol() string ModTime() time.Time Chdir(string) (Directory, error) MkdirAll(string) (Directory, error) Close() error } Source Files ¶ View all Source files error.gofilesystem.go Click to show internal directories. Click to hide internal directories.