* Private * Returns a BrowserFS object representing a File, created from the data * returned by calls to the Dropbox API.
(path: string, flag: FileFlag, stat: Dropbox.File.Stat, buffer: Buffer)
| 560 | * returned by calls to the Dropbox API. |
| 561 | */ |
| 562 | public _makeFile(path: string, flag: FileFlag, stat: Dropbox.File.Stat, buffer: Buffer): DropboxFile { |
| 563 | const type = this._statType(stat); |
| 564 | const stats = new Stats(type, stat.size); |
| 565 | return new DropboxFile(this, path, flag, stats, buffer); |
| 566 | } |
| 567 | |
| 568 | /** |
| 569 | * Private |