MCPcopy
hub / github.com/webpack/webpack / getResolvedTimestamp

Function getResolvedTimestamp

lib/FileSystemInfo.js:1195–1199  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

1193 * @returns {T["resolved"] | null | undefined} the resolved entry
1194 */
1195const getResolvedTimestamp = (entry) => {
1196 if (entry === null) return null;
1197 if (entry.resolved !== undefined) return entry.resolved;
1198 return entry.symlinks === undefined ? entry : undefined;
1199};
1200
1201/**
1202 * Gets resolved hash.

Callers 5

getContextTimestampMethod · 0.85
getContextTshMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected