Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-03-26 00:45:55 +0400
committerArthur Schiwon <blizzz@owncloud.com>2013-03-26 00:45:55 +0400
commitb2b78228d62be9f072f685bbae3b4470e191e0db (patch)
tree6ed00863cbf1734901efac2802b39e6dd9fc8220
parent2e5829445f96e6f673dcde3a49231ac64660386e (diff)
Add PHPDoc
-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 8dba15ab960..cabe88652a7 100644
--- a/lib/files/cache/legacy.php
+++ b/lib/files/cache/legacy.php
@@ -77,6 +77,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)) {