Documentation ¶ Index ¶ func TempDir(name string) (string, error) func Upload(ctx context.Context, fs storage.FS, ref *provider.Reference, content []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func TempDir ¶ func TempDir(name string) (string, error) 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. func Upload ¶ func Upload(ctx context.Context, fs storage.FS, ref *provider.Reference, content []byte) error Upload can be used to initiate an upload and do the upload to a storage.FS in one step Types ¶ This section is empty. Source Files ¶ View all Source files helpers.go Click to show internal directories. Click to hide internal directories.