Initializes the cached folder uploader by creating the cache directory at the root path.
Must be called before using the uploader for absolute safety, but it only needs to be
called once ever (unless the scratch space is wiped)
Returns Promise<void>
refreshCache
refreshCache(): Promise<void>
Returns Promise<void>
Protectedregister
register(): Promise<void>
Protected
Registers the current folder into the Folder database.
Returns Promise<void>
ProtectedregisterCache
registerCache(): Promise<void>
Returns Promise<void>
upload
upload(): Promise<void>
Uploads the specified local path to the HPC via SCP.
Returns Promise<void>
Throws
path needs to be valid
ProtecteduploadToCache
uploadToCache(): Promise<void>
Returns Promise<void>
ProtecteduploadToPath
uploadToPath(path): Promise<void>
Helper function for uploading a folder to a specified path. Used for both the normal and cached
versions of the upload comman.d
Specialization of BaseFolderUploader for uploading a local folder.