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

Method trashRoot

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

Source from the content-addressed store, hash-verified

70 }
71
72 private static function trashRoot(): string
73 {
74 if (class_exists('SourceContext')) {
75 return SourceContext::trashRoot();
76 }
77 return rtrim((string)TRASH_DIR, '/\\') . DIRECTORY_SEPARATOR;
78 }
79
80 private static function shouldUseRemoteMarker(StorageAdapterInterface $storage): bool
81 {

Callers 4

deleteFilesMethod · 0.95
getTrashItemsMethod · 0.95
restoreFilesMethod · 0.95
deleteTrashFilesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected