Options
All
  • Public
  • Public/Protected
  • All
Menu

This namespace encapsulates base classes allowing browsing, reading, and writing like a filesystem on a local computer.

Usually, it is a thin layer that connects to a remote client who expose resources like a tree (e.g. github, google drive). It may altought not always be the case, like the LocalDrive shows.

When deriving a new drive, the central task is implementing a new type of Interfaces.Drive. One can also inherits from Interfaces.File and Interfaces.Folder to eventually add missing required features.

Index

Functions

downloadBlob

  • downloadBlob(url: string, fileId: string, headers: Object, events$?: Subject<Event> | Subject<Event>[], total?: number, useCache?: boolean): Observable<Blob>

getFolderOrCreateRec

  • getFolderOrCreateRec(parentFolder: Drive | Folder, path: string[]): Observable<{ created: boolean; folder: Folder }>

getFolderRec

uploadBlob

  • uploadBlob(url: string, fileName: string, blob: Blob, headers: any, fileId?: string, events$?: Subject<Event> | Subject<Event>[]): Observable<any | Error>

Generated using TypeDoc