MCPcopy Create free account
hub / github.com/ceph/ceph / is_dir

Method is_dir

src/client/Inode.h:203–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201 bool is_root() const { return ino == CEPH_INO_ROOT; }
202 bool is_symlink() const { return (mode & S_IFMT) == S_IFLNK; }
203 bool is_dir() const { return (mode & S_IFMT) == S_IFDIR; }
204 bool is_file() const { return (mode & S_IFMT) == S_IFREG; }
205
206 // use i_flags as 1 << 14 will overlap with other mode bits.

Callers 15

linkMethod · 0.45
unlinkMethod · 0.45
add_update_inodeMethod · 0.45
linkMethod · 0.45
check_capsMethod · 0.45
check_cap_issueMethod · 0.45
_try_to_trim_inodeMethod · 0.45
may_openMethod · 0.45
may_createMethod · 0.45
_lookupMethod · 0.45
path_walkMethod · 0.45

Calls

no outgoing calls