# Packages
No description provided by the author
# Functions
AddPermissions merges a set of permissions into another TODO we should use a bitfield for this ...
CalculateChecksums calculates the sha1, md5 and adler32 checksums of a file.
CalculateEtag returns a hash of fileid + tmtime (or mtime).
GetAvailableSize stats the filesystem and return the available bytes.
New returns a new instance of Node.
NewPermissions returns a new Permissions instance.
NoPermissions represents an empty set of permissions.
OwnerPermissions defines permissions for nodes owned by the user.
ReadNode creates a new instance from an id and checks if it exists.
ServiceAccountPermissions defines the permissions for nodes when requested by a service account.
ShareFolderPermissions defines permissions for the shared jail.
# Constants
Define keys and values used in the node metadata.
Define keys and values used in the node metadata.
Define keys and values used in the node metadata.
ProcessingStatus is the name of the status when processing a file.
Define keys and values used in the node metadata.
Define keys and values used in the node metadata.
Define keys and values used in the node metadata.
Define keys and values used in the node metadata.
Define keys and values used in the node metadata.
RootID defines the root node's ID.
Define keys and values used in the node metadata.
TrashIDDelimiter represents the characters used to separate the nodeid and the deletion time.
Define keys and values used in the node metadata.
# Variables
CheckQuota checks if both disk space and available quota are sufficient Overwrite must be set to true if the new file replaces the old file e.g.
NoCheck doesn't check permissions, returns true always.
# Structs
Node represents a node in the tree and provides methods to get a Parent or Child instance.
Permissions implements permission checks.
# Interfaces
No description provided by the author
PathLookup defines the interface for the lookup component.
No description provided by the author
Tree is used to manage a tree hierarchy.
# Type aliases
Attributes is a map of string keys and byte array values.
PermissionFunc should return true when the user has permission to access the node.