Used to access information about the filesystem in a cached way
new FileSystemInfo(): FileSystemInfo
Returns:
FileSystemInfoType:
AsyncQueue<string, string, ContextHash>Type:
AsyncQueue<string, string, string>Type:
AsyncQueue<string, string, FileSystemInfoEntry>Type:
InputFileSystemType:
RegExp[]Type:
string[]Type:
WebpackLoggerType:
AsyncQueue<string, string, Set<string>>Type:
AsyncQueue<string, string, string>Type:
RegExp[]Type:
string[]Type:
RegExp[]Type:
string[]fileSystemInfo.addContextTimestamps(map, immutable?): void
Attributes
map:
ReadonlyMap<string, ContextTimestamp>immutable:
booleanAdds context timestamps.
fileSystemInfo.addFileTimestamps(map, immutable?): void
Attributes
map:
ReadonlyMap<string, FileTimestamp>immutable:
booleanAdds file timestamps.
fileSystemInfo.checkResolveResultsValid(resolveResults, callback): void
Attributes
Checks resolve results valid.
fileSystemInfo.checkSnapshotValid(snapshot, callback): void
Attributes
snapshot:
Snapshotcallback:
(err?: WebpackError | null, result?: boolean) => voidChecks snapshot valid.
fileSystemInfo.clear(): void
fileSystemInfo.createSnapshot(startTime, files, directories, missing, options, callback): void
Attributes
options:
SnapshotOptionsFileSystemInfo | null | undefinedcallback:
(err: WebpackError | null, snapshot: Snapshot | null) => voidCreates a snapshot.
fileSystemInfo.getContextHash(path, callback): void
Attributes
path:
stringcallback:
(err?: WebpackError | null, contextHash?: string) => voidReturns context hash.
fileSystemInfo.getContextTimestamp(path, callback): void
Attributes
path:
stringcallback:
(err?: WebpackError | null, resolvedContextTimestamp?: "ignore" | ResolvedContextFileSystemInfoEntry | null) => voidGets context timestamp.
fileSystemInfo.getContextTsh(path, callback): void
Attributes
path:
stringcallback:
(err?: WebpackError | null, resolvedContextTimestampAndHash?: ResolvedContextTimestampAndHash | null) => voidReturns context tsh.
fileSystemInfo.getDeprecatedContextTimestamps(): Map<string, number | null>
fileSystemInfo.getDeprecatedFileTimestamps(): Map<string, number | null>
fileSystemInfo.getFileHash(path, callback): void
Attributes
Returns file hash.
fileSystemInfo.getFileTimestamp(path, callback): void
Attributes
path:
stringcallback:
(err?: WebpackError | null, fileTimestamp?: "ignore" | FileSystemInfoEntry | null) => voidGets file timestamp.
fileSystemInfo.logStatistics(): void
fileSystemInfo.mergeSnapshots(snapshot1, snapshot2): Snapshot
Attributes
Merges the provided values into a single result.
fileSystemInfo.resolveBuildDependencies(context, deps, callback): void
Attributes
Resolves build dependencies.