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

Method metaRoot

src/FileRise/Domain/FileModel.php:42–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 }
41
42 private static function metaRoot(): string
43 {
44 if (class_exists('SourceContext')) {
45 SourceContext::ensureMetaDir();
46 return SourceContext::metaRoot();
47 }
48 return rtrim((string)META_DIR, '/\\') . DIRECTORY_SEPARATOR;
49 }
50
51 private static function metaRootForId(string $sourceId): string
52 {

Callers 15

getMetadataFilePathMethod · 0.95
createZipArchiveMethod · 0.95
extractZipArchiveMethod · 0.95
createAuthFileLinkMethod · 0.95
getAuthFileLinkRecordMethod · 0.95
getShareRecordMethod · 0.95
createShareLinkMethod · 0.95
getFileTagsMethod · 0.95
saveFileTagMethod · 0.95
getFileListMethod · 0.95
getAllShareLinksMethod · 0.95
deleteShareLinkMethod · 0.95

Calls 1

ensureMetaDirMethod · 0.80

Tested by

no test coverage detected