package
0.0.0-20220607003519-24ca9bfe3687
Repository: https://github.com/skeptycal/gosimple.git
Documentation: pkg.go.dev
# Functions
Create creates or truncates the named file and returns an opened file as io.ReadWriteCloser.
CreateSafe creates the named file and returns an opened file as io.ReadWriteCloser.
No description provided by the author
FileMode returns the filemode of file.
No description provided by the author
NewGoFileError returns, as an error, a new GoFileError which implements the gofile.Errer interface.
NewPathError returns, as an error, a new PathError with the given operation and file path that caused it.
No description provided by the author
Open opens the named file for reading as an in memory object.
PWD returns the current working directory.
RegularFileInfo returns file information (after symlink evaluation and path cleaning) using os.Stat().
No description provided by the author
Stat returns a FileInfo describing the named file.
# Variables
No description provided by the author
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
Portable analogs of some common errors.
NewSyscallError returns, as an error, a new SyscallError with the given system call name and error details.
SameFile reports whether fi1 and fi2 describe the same file.
# Structs
GoFileError records an error from a specific GoFile function call.
# Interfaces
A BasicFile provides access to a single file as an in memory buffer.
Reference types copied from io package.
No description provided by the author
No description provided by the author
No description provided by the author
Reference types copied from io package.
No description provided by the author
Handle returns the underlying io.ReadWriteCloser.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
A DirEntry is an entry read from a directory (using the ReadDir function or a ReadDirFile's ReadDir method).
A FileInfo describes a file and is returned by Stat.
No description provided by the author
No description provided by the author
No description provided by the author