MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / last_accessed

Method last_accessed

src/pglite/sync_host_fs.rs:197–203  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

195
196impl VirtualFile for SyncHostFile {
197 fn last_accessed(&self) -> u64 {
198 self.metadata()
199 .ok()
200 .and_then(|metadata| metadata.accessed().ok())
201 .map(system_time_nanos)
202 .unwrap_or(0)
203 }
204
205 fn last_modified(&self) -> u64 {
206 self.metadata()

Callers

nothing calls this directly

Calls 1

metadataMethod · 0.45

Tested by

no test coverage detected