Protected
Readonly
baseGet the metadata object for the given file, if it exists.
Get a UniversalPath that refers to a file on this filesystem.
Download a file in the remote filesystem to the local filesystem and return it as a UniversalPath.
List all immediate children of the given path.
Protected
metadataProtected
normalizeProtected
Normalize the input tags into a single array of strings. This is useful for implementing the fluent
interface for putLocalFile()
.
const tags: string[] = this._normalizeTags(args.tag, args.tags)
Optional
tag: stringOptional
tags: string[]Store a file from the local filesystem into the remote filesystem.
await store.putLocalFile({
localPath: '/tmp/temp.file',
storePath: 'my/upload-key/temp.file',
mimeType: 'application/json',
tags: ['json', 'user-data'],
})
Optional
mimeOptional
tag?: stringOptional
tags?: string[]Set the metadata object for the given file, if the file exists.
Protected
storeProtected
temp
A Filesystem implementation that stores files on the local disk.
Todo
walk