diff --git a/lib/files/view.php b/lib/files/view.php
index 709e374d8634a0d9ffdab13cf8735991373bd5f3..e3f9b762f7a1b97dff60df076bcf4abd0d6d50f6 100644
--- a/lib/files/view.php
+++ b/lib/files/view.php
@@ -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