From d90b31401c412d18e29ac08f6d091d09d1fc4ce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Mon, 29 Aug 2022 15:19:20 +0200 Subject: [PATCH] Fix OCP\Util documentation blocks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/public/Util.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/public/Util.php b/lib/public/Util.php index ad8818df3ca..85472b9c912 100644 --- a/lib/public/Util.php +++ b/lib/public/Util.php @@ -630,7 +630,10 @@ class Util { } /** + * Compute the fileId to use for dav responses + * * @param int $id Id of the file returned by FileInfo::getId + * @since 25.0.0 */ public static function getDavFileId(int $id): string { $instanceId = \OC_Util::getInstanceId(); @@ -638,6 +641,11 @@ class Util { return $id . $instanceId; } + /** + * Compute the format needed for returning permissions for dav + * + * @since 25.0.0 + */ public static function getDavPermissions(\OCP\Files\FileInfo $info): string { $p = ''; if ($info->isShared()) {