menu
anyhow package
documentation
rust.dart
UnixPath
hasRoot method
hasRoot method
dark_mode
light_mode
hasRoot
method
bool
hasRoot
(
)
Returns true if the Path has a root.
Implementation
bool hasRoot() => _posix.rootPrefix(_string) == separator;
anyhow package
documentation
rust
UnixPath
hasRoot method
UnixPath extension type