MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / CreateDirectory

Function CreateDirectory

libi2pd/FS.cpp:282–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280 }
281
282 bool CreateDirectory (const std::string& path)
283 {
284 if (fs_lib::exists(path) && fs_lib::is_directory (fs_lib::status (path)))
285 return true;
286 return fs_lib::create_directory(path);
287 }
288
289 void HashedStorage::SetPlace(const std::string &path) {
290 root = path + i2p::fs::dirSep + name;

Callers 1

InitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected