MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / entry

Function entry

atomic-core/src/pristine/file_index_v2.rs:422–436  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

420 }
421
422 fn entry() -> FileIndexV2Entry {
423 FileIndexV2Entry::complete(
424 7,
425 11,
426 timestamp(100, 999_999_999),
427 timestamp(101, 42),
428 23,
429 Hash::of(b"content"),
430 0o755,
431 InodeKind::Regular,
432 timestamp(100, 500),
433 Hash::of(b"policy"),
434 )
435 .unwrap()
436 }
437
438 #[test]
439 fn key_and_row_roundtrip_preserve_nanoseconds_and_raw_path() {

Calls 2

timestampFunction · 0.70
unwrapMethod · 0.45