MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / to_path_buf

Method to_path_buf

euralios_std/src/path.rs:339–341  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

337 #[must_use = "this returns the result of the operation, \
338 without modifying the original"]
339 pub fn to_path_buf(&self) -> PathBuf {
340 PathBuf::from(self.inner.to_os_string())
341 }
342
343 /// true if the path starts with '/'
344 pub fn has_root(&self) -> bool {

Callers 2

_joinMethod · 0.80
path_to_path_bufFunction · 0.80

Calls 1

to_os_stringMethod · 0.80

Tested by

no test coverage detected