Impl Ref::is_ref_to_file()
This commit is contained in:
parent
19f273db45
commit
682acfcf81
1 changed files with 5 additions and 0 deletions
|
@ -54,6 +54,11 @@ impl<'a> Ref<'a> {
|
||||||
unimplemented!()
|
unimplemented!()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Alias for `r.fs_link_exists() && r.deref().is_file()`
|
||||||
|
pub fn is_ref_to_file(&self) -> bool {
|
||||||
|
unimplemented!()
|
||||||
|
}
|
||||||
|
|
||||||
/// Alias for `!Ref::fs_link_exists()`
|
/// Alias for `!Ref::fs_link_exists()`
|
||||||
pub fn is_dangling(&self) -> bool {
|
pub fn is_dangling(&self) -> bool {
|
||||||
!self.fs_link_exists()
|
!self.fs_link_exists()
|
||||||
|
|
Loading…
Reference in a new issue