package
0.2.0
Repository: https://github.com/telebroad/fileserver.git
Documentation: pkg.go.dev

# Functions

No description provided by the author

# Structs

LocalFS is a local file system that implements the FtpFS interface.

# Interfaces

FS is filesystem the interface that wraps the basic methods for a FTP,FTPS,SFTP file system The FTP server uses this interface to interact with the file system CheckDir checks if the given directory exists RootDir returns the Root directory of the file system Dir returns a list of files in the given directory Read reads the file and writes it to the given writer Create creates a new file with the given name and writes the data from the reader Remove removes the file/directory Rename renames the file/directory or moves it to a different directory Stat returns the file info SetStat changes the file info Lstat returns the file info without following the link Link creates a hard link pointing to a file.
FSWithReadWriteAt is the interface that wraps the basic methods for a SFTP file system.
NewFS implement the FS interface add support for the New 1.16 fs.FS interface.
NewFSWithReadWriteAt implement the FSWithFile interface add support for the New 1.16 fs.FS interface.