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

Method is_absolute

euralios_std/src/path.rs:350–352  ·  view source on GitHub ↗

Returns true if the Path is absolute, i.e., if it is independent of the current directory.

(&self)

Source from the content-addressed store, hash-verified

348 /// Returns true if the Path is absolute, i.e., if it is
349 /// independent of the current directory.
350 pub fn is_absolute(&self) -> bool {
351 self.has_root()
352 }
353
354 /// Returns true if the Path is relative, i.e., not absolute.
355 pub fn is_relative(&self) -> bool {

Callers 2

_pushMethod · 0.80
is_relativeMethod · 0.80

Calls 1

has_rootMethod · 0.80

Tested by

no test coverage detected