Storage
- storageAddLocal
- storageAttach
- storageBestAlloc
- storageDeclareSector
- storageDropSector
- storageFindSector
- storageInfo
- storageList
- storageLocal
- storageLock
- storageReportHealth
- storageStat
- storageTryLock
storageAddLocal
storageAddLocal (str: string): Promise<void>
Parameters:
str
:string
Returns:
Promise<void>
Source: index.d.ts, line 901, character 17
storageAttach
storageAttach (storageInfo: StorageInfo, fsStat: FsStat): Promise<void>
Parameters:
storageInfo
:StorageInfo
fsStat
:FsStat
Returns:
Promise<void>
Source: index.d.ts, line 902, character 15
storageBestAlloc
storageBestAlloc (sectorFileType: number, sectorSize: number, pathType: string): Promise<Array<StorageInfo>>
Parameters:
sectorFileType
:number
sectorSize
:number
pathType
:string
Returns:
Promise<Array<StorageInfo>>
Source: index.d.ts, line 903, character 18
storageDeclareSector
storageDeclareSector (id: string, sectorID: SectorID, sectorFileType: number, bool: boolean): Promise<void>
Parameters:
id
:string
sectorID
:SectorID
sectorFileType
:number
bool
:boolean
Returns:
Promise<void>
Source: index.d.ts, line 904, character 22
storageDropSector
storageDropSector (id: string, sectorID: SectorID, sectorFileType: number): Promise<void>
Parameters:
id
:string
sectorID
:SectorID
sectorFileType
:number
Returns:
Promise<void>
Source: index.d.ts, line 905, character 19
storageFindSector
storageFindSector (sectorID: SectorID, sectorFileType: number, sectorSize: number, bool: boolean): Promise<Array<SectorStorageInfo>>
Parameters:
sectorID
:SectorID
sectorFileType
:number
sectorSize
:number
bool
:boolean
Returns:
Promise<Array<SectorStorageInfo>>
Source: index.d.ts, line 906, character 19
storageInfo
storageInfo (id: string): Promise<StorageInfo>
Parameters:
id
:string
Returns:
Promise<StorageInfo>
Source: index.d.ts, line 907, character 13
storageList
storageList (): Promise<{ [k: string]: Array<Decl> }>
Returns:
Promise<{ [k: string]: Array<Decl> }>
Source: index.d.ts, line 908, character 13
storageLocal
storageLocal (): Promise<{ [k: string]: string }>
Returns:
Promise<{ [k: string]: string }>
Source: index.d.ts, line 909, character 14
storageLock
storageLock (sectorID: SectorID, sectorFileType: number, sectorFileType1: number): Promise<void>
Parameters:
sectorID
:SectorID
sectorFileType
:number
sectorFileType1
:number
Returns:
Promise<void>
Source: index.d.ts, line 910, character 13
storageReportHealth
storageReportHealth (id: string, healthReport: HealthReport): Promise<void>
Parameters:
id
:string
healthReport
:HealthReport
Returns:
Promise<void>
Source: index.d.ts, line 911, character 21
storageStat
storageStat (id: string): Promise<FsStat>
Parameters:
id
:string
Returns:
Promise<FsStat>
Source: index.d.ts, line 912, character 13
storageTryLock
storageTryLock (sectorID: SectorID, sectorFileType: number, sectorFileType1: number): Promise<boolean>
Parameters:
sectorID
:SectorID
sectorFileType
:number
sectorFileType1
:number
Returns:
Promise<boolean>