MCPcopy Create free account
hub / github.com/BitVM/BitVM / get_public_data_directory_path

Function get_public_data_directory_path

bridge/src/client/files.rs:25–27  ·  view source on GitHub ↗
(data_root_path: &Path)

Source from the content-addressed store, hash-verified

23}
24
25fn get_public_data_directory_path(data_root_path: &Path) -> PathBuf {
26 data_root_path.join(PUBLIC_DATA_DIRECTORY_NAME)
27}
28
29pub fn create_directories_if_non_existent(data_root_path: &Path) {
30 if !data_root_path.exists() {

Callers 2

save_local_public_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected