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

Method get

atomic-repository/src/status.rs:570–572  ·  view source on GitHub ↗

Get the status entry for a specific path.

(&self, path: &Path)

Source from the content-addressed store, hash-verified

568
569 /// Get the status entry for a specific path.
570 pub fn get(&self, path: &Path) -> Option<&FileStatusEntry> {
571 self.path_index.get(path).map(|&i| &self.entries[i])
572 }
573
574 /// Get all entries.
575 pub fn entries(&self) -> &[FileStatusEntry] {

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected