Interface: StorageFinder
Define a Finder that can be use
Methods
find()
find(
currentPath
,options
?):string
[]
Find
Parameters
• currentPath: string
• options?: FinderOptionsType
Returns
string
[]
Source
packages/core/src/utils/serializers.ts:116
getReadStream()
getReadStream(
path
):Readable
Get a read stream based on the id return by the finder
Parameters
• path: string
Returns
Readable
Source
packages/core/src/utils/serializers.ts:124
getWriteStream()
getWriteStream(
path
):Writable
Get a write stream based on the id return by the finder
Parameters
• path: string
Returns
Writable
Source
packages/core/src/utils/serializers.ts:120
walk()
walk(
path
,processor
,options
?,depth
?):void
Recursively browse the path and call processor on each
Parameters
• path: string
• processor: (filepath
) => void
• options?: WalkerOptionsType
• depth?: number
Returns
void