summaryrefslogtreecommitdiffstats
path: root/lib/files/filesystem.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/files/filesystem.php')
-rw-r--r--lib/files/filesystem.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php
index 4031c0c5b80..b3c92f38558 100644
--- a/lib/files/filesystem.php
+++ b/lib/files/filesystem.php
@@ -628,6 +628,19 @@ class Filesystem {
}
/**
+ * change file metadata
+ *
+ * @param string $path
+ * @param array $data
+ * @return int
+ *
+ * returns the fileid of the updated file
+ */
+ public static function putFileInfo($path, $data) {
+ return self::$defaultInstance->putFileInfo($path, $data);
+ }
+
+ /**
* get the content of a directory
*
* @param string $directory path under datadirectory