Used to access information about the filesystem in a cached way
new FileSystemInfo(): FileSystemInfo
Returns:
FileSystemInfoAttributes
contextHashQueue:
AsyncQueue<string, string, ContextHash>contextTimestampQueue:
AsyncQueue<string, string, ContextFileSystemInfoEntry>contextTshQueue:
AsyncQueue<string, string, ContextTimestampAndHash>fileHashQueue:
AsyncQueue<string, string, string>fileTimestampQueue:
AsyncQueue<string, string, FileSystemInfoEntry>immutablePathsRegExps:
RegExp[]immutablePathsWithSlash:
string[]logger:
WebpackLoggermanagedItemDirectoryQueue:
AsyncQueue<string, string, Set<string>>managedItemQueue:
AsyncQueue<string, string, string>managedPathsRegExps:
RegExp[]managedPathsWithSlash:
string[]unmanagedPathsRegExps:
RegExp[]unmanagedPathsWithSlash:
string[]addContextTimestamps(map, immutable?): void
Attributes
Adds context timestamps.
addFileTimestamps(map, immutable?): void
Attributes
Adds file timestamps.
checkResolveResultsValid(resolveResults, callback): void
Attributes
Checks resolve results valid.
checkSnapshotValid(snapshot, callback): void
Attributes
Checks snapshot valid.
clear(): void
Returns:
voidcreateSnapshot(startTime, files, directories, missing, options, callback): void
Attributes
options:
SnapshotOptionsFileSystemInfo | null | undefinedcallback:
(err: WebpackError | null, snapshot: Snapshot | null) => voidReturns:
voidCreates a snapshot.
getContextHash(path, callback): void
Attributes
Returns context hash.
getContextTimestamp(path, callback): void
Attributes
path:
stringcallback:
(err?: WebpackError | null, resolvedContextTimestamp?: "ignore" | ResolvedContextFileSystemInfoEntry | null) => voidReturns:
voidGets context timestamp.
getContextTsh(path, callback): void
Attributes
path:
stringcallback:
(err?: WebpackError | null, resolvedContextTimestampAndHash?: ResolvedContextTimestampAndHash | null) => voidReturns:
voidReturns context tsh.
getDeprecatedContextTimestamps(): Map<string, number | null>
getDeprecatedFileTimestamps(): Map<string, number | null>
getFileHash(path, callback): void
Attributes
Returns file hash.
getFileTimestamp(path, callback): void
Attributes
path:
stringcallback:
(err?: WebpackError | null, fileTimestamp?: "ignore" | FileSystemInfoEntry | null) => voidReturns:
voidGets file timestamp.
logStatistics(): void
Returns:
voidmergeSnapshots(snapshot1, snapshot2): Snapshot
Attributes
Merges the provided values into a single result.
resolveBuildDependencies(context, deps, callback): void
Attributes
Resolves build dependencies.
Attributes
Attributes
Type:
null | "ignore" | ContextFileSystemInfoEntry | ExistenceOnlyTimeEntryFileSystemInfoAttributes
Type:
null | "ignore" | FileSystemInfoEntry | ExistenceOnlyTimeEntryFileSystemInfoAttributes
Attributes
Attributes