package
0.8.2
Repository: https://github.com/no-src/gofs.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

ParseFsDirValue parse boolean to FsDirValue.

# Constants

AccessDeny deny current access.
AccessDenyDesc the description of AccessDeny code.
ChunkModified the chunk is modified.
ChunkModifiedDesc the description of ChunkModified code.
ChunkNotModified the chunk is not modified.
ChunkNotModifiedDesc the description of ChunkNotModified code.
Fail the standard fail status code.
FailDesc the description of Fail code.
FsAtime file last access time.
FsCtime file creation time.
FsDir is dir, see FsDirValue.
FsHash file hash value.
FsHashValues the hash value of the entire file and first chunk and some checkpoints.
FsIsDir current path is a dir.
FsMtime file last modify time.
FsNeedCheckpoint return file checkpoint hash or not.
FsNeedHash return file hash or not.
FsNeedHashValueTrue the optional value of the FsNeedHash parameter, that means let file server return file hash value.
FsNotDir current path is not a dir.
FsPath file path.
FsSize file size, bytes.
FsUnknown current path is unknown file type.
Modified the resource is modified.
ModifiedDesc the description of Modified code.
NoPermission the no permission status code, the user is authorized but has no permission.
NoPermissionDesc the description of NoPermission code.
NotFound the resource not found status code.
NotFoundDesc the description of NotFound code.
NotModified the resource is not modified.
NotModifiedDesc the description of NotModified code.
ParamValueFalse the parameter value means false.
ParamValueTrue the parameter value means true.
ServerError the server error status code.
ServerErrorDesc the description of ServerError code.
Success the success status code.
SuccessDesc the description of Success code.
Unauthorized the unauthorized status code, the current user needs to sign in.
UnauthorizedDesc the description of Unauthorized code.
Unknown the unknown status code.
UnknownDesc the description of Unknown code.

# Structs

Chunk the file chunk info that is used to upload the file.
FileInfo the basic file info description.

# Type aliases

Code the status code info.
FsDirValue the optional value of FsDir.