MCPcopy Index your code
hub / github.com/browserless/browserless / getMtime

Method getMtime

src/file-system.ts:119–124  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

117 }
118
119 protected async getMtime(path: string): Promise<number | null> {
120 return stat(path).then(
121 (s) => s.mtimeMs,
122 () => null,
123 );
124 }
125
126 protected async recordMtime(path: string): Promise<void> {
127 const mtime = await this.getMtime(path);

Callers 2

readMethod · 0.95
recordMtimeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected