package
1.29.0
Repository: https://github.com/cs3org/reva.git
Documentation: pkg.go.dev

# Functions

CreateFile creates a file in the given path with an initial content.
CreateFolder creates a folder in the given path.
CreateStructure creates the given structure.
Download downloads the content of a file in one step.
SameContentWebDAV checks that starting from the root path the webdav client sees the same content defined in the Resource.
TempDir creates a temporary directory in tmp/ and returns its path Temporary test directories are created in reva/tmp because system /tmp directories are often tmpfs mounts which do not support user extended attributes.
TempFile creates a temporary file returning its path.
TempJSONFile creates a temporary file returning its path.
Upload can be used to initiate an upload and do the upload to a storage.FS in one step.
UploadGateway uploads in one step a the content in a file.

# Structs

File implements the Resource interface.

# Interfaces

Resource represents a general resource (file or folder).

# Type aliases

Folder implements the Resource interface.