MCPcopy Create free account
hub / github.com/error311/FileRise / ensureDir

Method ensureDir

src/FileRise/Storage/SourcesConfig.php:77–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 }
76
77 private static function ensureDir(): void
78 {
79 $base = self::baseDir();
80 if ($base !== '' && !is_dir($base)) {
81 @mkdir($base, 0755, true);
82 }
83 }
84
85 private static function decryptSecret(string $value): string
86 {

Callers 1

saveRawMethod · 0.95

Calls 1

baseDirMethod · 0.95

Tested by

no test coverage detected