Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ceph/ceph
/ def
Method
def
src/common/ceph_json.cc:683–688 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
681
}
682
683
string JSONFormattable::def(const string& def_val) const {
684
if (type == FMT_NONE) {
685
return def_val;
686
}
687
return val();
688
}
689
690
int JSONFormattable::def(int def_val) const {
691
if (type == FMT_NONE) {
Callers
3
get
Method · 0.80
get_int
Method · 0.80
get_bool
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected