MCPcopy Create free account
hub / github.com/cosdata/cosdata / is_absent

Method is_absent

org/src/viewer.rs:61–63  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

59 }
60
61 fn is_absent(&self) -> bool {
62 self.offset == u32::MAX || self.file_id == u32::MAX
63 }
64
65 fn validate_link(&self, dir: &Path) -> LinkValidation {
66 if self.is_absent() {

Callers 2

validate_linkMethod · 0.80
print_index_ptrFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected