MCPcopy Create free account
hub / github.com/anomalyco/opencode / mtimeMs

Function mtimeMs

packages/core/src/util/effect-flock.ts:93–93  ·  view source on GitHub ↗
(info: FileSystem.File.Info)

Source from the content-addressed store, hash-verified

91 }
92
93 const mtimeMs = (info: FileSystem.File.Info) => Option.getOrElse(info.mtime, () => new Date(0)).getTime()
94
95 const isPathGone = (e: PlatformError) => e.reason._tag === "NotFound" || e.reason._tag === "Unknown"
96

Callers 1

effect-flock.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected