Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/mesos
/ type
Function
type
src/linux/fs.cpp:133–140 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
131
132
133
Try<uint32_t> type(const string& path)
134
{
135
struct statfs buf;
136
if (statfs(path.c_str(), &buf) < 0) {
137
return ErrnoError();
138
}
139
return (uint32_t) buf.f_type;
140
}
141
142
143
Try<string> typeName(uint32_t fsType)
Callers
12
is_valid
Method · 0.85
crt
Method · 0.85
WindowsFD
Class · 0.85
assign_iocp
Method · 0.85
test_exec
Method · 0.85
test_exec_exit_status
Method · 0.85
test_exec_interactive
Method · 0.85
test_list
Method · 0.85
test_list_all
Method · 0.85
test_list
Method · 0.85
TEST_F
Function · 0.85
validateBackend
Function · 0.85
Calls
2
statfs
Class · 0.85
ErrnoError
Class · 0.85
Tested by
7
test_exec
Method · 0.68
test_exec_exit_status
Method · 0.68
test_exec_interactive
Method · 0.68
test_list
Method · 0.68
test_list_all
Method · 0.68
test_list
Method · 0.68
TEST_F
Function · 0.68