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

Method ensureMetaDir

src/FileRise/Storage/SourceContext.php:206–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204 }
205
206 public static function ensureMetaDir(): void
207 {
208 $dir = self::metaRoot();
209 if (!is_dir($dir)) {
210 @mkdir($dir, 0775, true);
211 }
212 }
213
214 public static function metaPath(string $fileName): string
215 {

Callers 3

metaRootMethod · 0.80
metaRootMethod · 0.80
metaRootMethod · 0.80

Calls 1

metaRootMethod · 0.95

Tested by

no test coverage detected