MCPcopy Create free account
hub / github.com/apache/arrow / lock_guard

Method lock_guard

cpp/src/arrow/filesystem/mockfs.cc:285–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283 : current_time(current_time), pool(pool), root(Directory("", current_time)) {}
284
285 std::unique_lock<std::mutex> lock_guard() {
286 return std::unique_lock<std::mutex>(mutex);
287 }
288
289 Directory& RootDir() { return root.as_dir(); }
290

Callers 13

CreateDirMethod · 0.80
DeleteDirMethod · 0.80
DeleteDirContentsMethod · 0.80
DeleteRootDirContentsMethod · 0.80
DeleteFileMethod · 0.80
GetFileInfoMethod · 0.80
RunMethod · 0.80
OpenInputStreamMethod · 0.80
OpenInputFileMethod · 0.80
OpenOutputStreamMethod · 0.80
OpenAppendStreamMethod · 0.80
AllDirsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected