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

Method path_buf

atomic-core/src/change/local.rs:94–96  ·  view source on GitHub ↗

Get the path as a PathBuf.

(&self)

Source from the content-addressed store, hash-verified

92
93 /// Get the path as a PathBuf.
94 pub fn path_buf(&self) -> PathBuf {
95 PathBuf::from(&self.path)
96 }
97
98 /// Get the file name portion of the path.
99 pub fn file_name(&self) -> Option<&str> {

Callers 2

test_local_path_bufFunction · 0.80
test_local_byte_path_bufFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_local_path_bufFunction · 0.64
test_local_byte_path_bufFunction · 0.64