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

Method push_dentry

src/include/filepath.cc:100–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void filepath::push_dentry(std::string_view s) {
101 if (bits.empty() && path.length() > 0)
102 parse_bits();
103 if (!bits.empty())
104 path += "/";
105 path += s;
106 bits.emplace_back(s);
107}
108
109void filepath::push_front_dentry(const std::string& s) {
110 bits.insert(bits.begin(), s);

Callers 15

get_random_subdirMethod · 0.45
get_random_subMethod · 0.45
make_subMethod · 0.45
make_long_pathMethod · 0.45
build_client_requestMethod · 0.45
getpathMethod · 0.45
_do_lookupMethod · 0.45
lookup_hashMethod · 0.45
random_walkMethod · 0.45
make_pathMethod · 0.45

Calls 3

emptyMethod · 0.45
lengthMethod · 0.45
emplace_backMethod · 0.45

Tested by

no test coverage detected