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

Method resumableTempDir

src/FileRise/Domain/UploadModel.php:148–155  ·  view source on GitHub ↗
(string $baseUploadDir, $identifier)

Source from the content-addressed store, hash-verified

146 }
147
148 private static function resumableTempDir(string $baseUploadDir, $identifier): ?string
149 {
150 $folderName = self::resumableTempFolderName($identifier);
151 if ($folderName === null) {
152 return null;
153 }
154 return rtrim($baseUploadDir, '/\\') . DIRECTORY_SEPARATOR . $folderName . DIRECTORY_SEPARATOR;
155 }
156
157 private static function isPathWithinRoot(string $path, string $root): bool
158 {

Callers 1

handleUploadMethod · 0.95

Calls 1

Tested by

no test coverage detected