On this page

Source Code: lib/FileSystemInfo.js#L1330

Used to access information about the filesystem in a cached way

new FileSystemInfo(): FileSystemInfo
Source Code: lib/FileSystemInfo.js#L1471
Source Code: lib/FileSystemInfo.js#L1465
Source Code: lib/FileSystemInfo.js#L1477
Source Code: lib/FileSystemInfo.js#L1459
Source Code: lib/FileSystemInfo.js#L1453
Source Code: lib/FileSystemInfo.js#L1352
Source Code: lib/FileSystemInfo.js#L1514
Type:(string | RegExp)[]
Source Code: lib/FileSystemInfo.js#L1520
Type:RegExp[]
Source Code: lib/FileSystemInfo.js#L1516
Type:string[]
Source Code: lib/FileSystemInfo.js#L1353
Source Code: lib/FileSystemInfo.js#L1489
Source Code: lib/FileSystemInfo.js#L1483
Source Code: lib/FileSystemInfo.js#L1504
Type:(string | RegExp)[]
Source Code: lib/FileSystemInfo.js#L1510
Type:RegExp[]
Source Code: lib/FileSystemInfo.js#L1506
Type:string[]
Source Code: lib/FileSystemInfo.js#L1500
Type:RegExp[]
Source Code: lib/FileSystemInfo.js#L1496
Type:string[]
fileSystemInfo.addContextTimestamps(map, immutable?): void
Source Code: lib/FileSystemInfo.js#L1711
Attributes
map:ReadonlyMap<string, ContextTimestamp>
immutable:boolean

Adds context timestamps.

fileSystemInfo.addFileTimestamps(map, immutable?): void
Source Code: lib/FileSystemInfo.js#L1700
Attributes
map:ReadonlyMap<string, FileTimestamp>
immutable:boolean

Adds file timestamps.

fileSystemInfo.checkResolveResultsValid(resolveResults, callback): void
Source Code: lib/FileSystemInfo.js#L2495
Attributes
resolveResults:Map<string, string | false | undefined>
callback:(err?: Error | null, result?: boolean) => void

Checks resolve results valid.

fileSystemInfo.checkSnapshotValid(snapshot, callback): void
Source Code: lib/FileSystemInfo.js#L3221
Attributes
snapshot:Snapshot
callback:(err?: WebpackError | null, result?: boolean) => void

Checks snapshot valid.

fileSystemInfo.clear(): void
Source Code: lib/FileSystemInfo.js#L1658
fileSystemInfo.createSnapshot(startTime, files, directories, missing, options, callback): void
Source Code: lib/FileSystemInfo.js#L2582
Attributes
startTime:number | null | undefined
directories:Iterable<string, any, any> | null | undefined
callback:(err: WebpackError | null, snapshot: Snapshot | null) => void

Creates a snapshot.

fileSystemInfo.getContextHash(path, callback): void
Source Code: lib/FileSystemInfo.js#L1823
Attributes
path:string
callback:(err?: WebpackError | null, contextHash?: string) => void

Returns context hash.

fileSystemInfo.getContextTimestamp(path, callback): void
Source Code: lib/FileSystemInfo.js#L1739
Attributes
path:string
callback:(err?: WebpackError | null, resolvedContextTimestamp?: "ignore" | ResolvedContextFileSystemInfoEntry | null) => void

Gets context timestamp.

fileSystemInfo.getContextTsh(path, callback): void
Source Code: lib/FileSystemInfo.js#L1862
Attributes
path:string
callback:(err?: WebpackError | null, resolvedContextTimestampAndHash?: ResolvedContextTimestampAndHash | null) => void

Returns context tsh.

fileSystemInfo.getDeprecatedContextTimestamps(): Map<string, number | null>
Source Code: lib/FileSystemInfo.js#L4639
Returns:Map<string, number | null>
fileSystemInfo.getDeprecatedFileTimestamps(): Map<string, number | null>
Source Code: lib/FileSystemInfo.js#L4621
Returns:Map<string, number | null>
fileSystemInfo.getFileHash(path, callback): void
Source Code: lib/FileSystemInfo.js#L1811
Attributes
path:string
callback:(err?: WebpackError | null, hash?: string | null) => void

Returns file hash.

fileSystemInfo.getFileTimestamp(path, callback): void
Source Code: lib/FileSystemInfo.js#L1722
Attributes
path:string
callback:(err?: WebpackError | null, fileTimestamp?: "ignore" | FileSystemInfoEntry | null) => void

Gets file timestamp.

fileSystemInfo.logStatistics(): void
Source Code: lib/FileSystemInfo.js#L1546
fileSystemInfo.mergeSnapshots(snapshot1, snapshot2): Snapshot
Source Code: lib/FileSystemInfo.js#L3134
Attributes
snapshot1:Snapshot
snapshot2:Snapshot
Returns:Snapshot

Merges the provided values into a single result.

fileSystemInfo.resolveBuildDependencies(context, deps, callback): void
Source Code: lib/FileSystemInfo.js#L1926
Attributes
context:string
callback:(err?: Error | null, resolveBuildDependenciesResult?: ResolveBuildDependenciesResult) => void

Resolves build dependencies.