Skip to content
Snippets Groups Projects
Commit 72c38686 authored by Robin Appelman's avatar Robin Appelman
Browse files

add resolvePath to filesystem view api

parent 091ff023
No related branches found
No related tags found
No related merge requests found
......@@ -101,6 +101,16 @@ class View {
return Filesystem::getMountPoint($this->getAbsolutePath($path));
}
/**
* resolve a path to a storage and internal path
*
* @param string $path
* @return array consisting of the storage and the internal path
*/
public function resolvePath($path) {
return Filesystem::resolvePath($this->getAbsolutePath($path));
}
/**
* return the path to a local version of the file
* we need this because we can't know if a file is stored local or not from outside the filestorage and for some purposes a local file is needed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment