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