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

Method metaRoot

src/FileRise/Domain/UploadModel.php:48–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 }
47
48 private static function metaRoot(): string
49 {
50 if (class_exists('SourceContext')) {
51 SourceContext::ensureMetaDir();
52 return SourceContext::metaRoot();
53 }
54 return rtrim((string)META_DIR, '/\\') . DIRECTORY_SEPARATOR;
55 }
56
57 private static function isLocalSourceType(): bool
58 {

Callers 4

stagingRootMethod · 0.95
resumableIndexPathMethod · 0.95
metadataFileForFolderMethod · 0.95
logVirusDetectionMethod · 0.95

Calls 1

ensureMetaDirMethod · 0.80

Tested by

no test coverage detected