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

Method getpath

src/client/Client.cc:6470–6479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6468}
6469
6470filepath Client::walk_dentry_result::getpath() const
6471{
6472 ceph_assert(diri);
6473 auto path = filepath(diri->ino);
6474 if (dname.size()) {
6475 diri->make_nosnap_relative_path(path);
6476 path.push_dentry(dname);
6477 }
6478 return path;
6479}
6480
6481
6482void Client::walk_dentry_result::print(std::ostream& os) const

Callers 8

_mknodMethod · 0.80
_createMethod · 0.80
_mkdirMethod · 0.80
_symlinkMethod · 0.80
_unlinkMethod · 0.80
_rmdirMethod · 0.80
_renameMethod · 0.80
_linkMethod · 0.80

Calls 4

filepathClass · 0.70
sizeMethod · 0.45
push_dentryMethod · 0.45

Tested by

no test coverage detected