Properties
Private _file
_file: Buffer
Accessors
file
- get file(): Buffer
- set file(file: Buffer): void
-
Returns Buffer
-
Parameters
Returns void
Methods
getAllFilesFromStore
- getAllFilesFromStore(path: string): Promise<File[][]>
-
Parameters
Returns Promise<File[][]>
getContentFrom
- getContentFrom(filePath: string, contentDefault?: string): Promise<Buffer>
-
Parameters
-
filePath: string
-
contentDefault: string = ''
Returns Promise<Buffer>
getFromStore
- getFromStore(filePath: string): Promise<Buffer>
-
Parameters
Returns Promise<Buffer>
save
- save(path: string): Promise<void>
-
Parameters
Returns Promise<void>
Pegar todos os arquivos de uma agencia