summaryrefslogtreecommitdiffstats
path: root/lib/files
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-03-25 21:45:55 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-03-27 19:18:58 +0100
commit1d676fb0e63ce7bd2a303335fc9dd484846d91f8 (patch)
tree78b2243f2b0aed4f986be5d3160231ecced7dd08 /lib/files
parentd9e07ca60a80ce076f1060defb67bf1cb4fe542e (diff)
downloadnextcloud-server-1d676fb0e63ce7bd2a303335fc9dd484846d91f8.tar.gz
nextcloud-server-1d676fb0e63ce7bd2a303335fc9dd484846d91f8.zip
Add PHPDoc
Diffstat (limited to 'lib/files')
-rw-r--r--lib/files/cache/legacy.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/files/cache/legacy.php b/lib/files/cache/legacy.php
index d9ba36bb3a4..ddee75e972b 100644
--- a/lib/files/cache/legacy.php
+++ b/lib/files/cache/legacy.php
@@ -84,6 +84,12 @@ class Legacy {
return $data;
}
+ /**
+ * Get the ETag for the given path
+ *
+ * @param type $path
+ * @return string
+ */
function getEtag($path) {
list(, $user, , $relativePath) = explode('/', $path, 4);
if (is_null($relativePath)) {