summaryrefslogtreecommitdiffstats
path: root/lib/public/files.php
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-09-08 16:02:11 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-09-08 16:02:11 +0200
commit89e5b85fa7c64c5989224dd41142cb9a6d3c816e (patch)
tree0ed1c96109ad9bfee9ce65b0694078db941ecb6c /lib/public/files.php
parent6b2b8b10ee771776023e64a62f59c1bd620605fb (diff)
downloadnextcloud-server-89e5b85fa7c64c5989224dd41142cb9a6d3c816e.tar.gz
nextcloud-server-89e5b85fa7c64c5989224dd41142cb9a6d3c816e.zip
style fixes for public files api
Diffstat (limited to 'lib/public/files.php')
-rw-r--r--lib/public/files.php23
1 files changed, 6 insertions, 17 deletions
diff --git a/lib/public/files.php b/lib/public/files.php
index 2f4f459bd91..90889c59ad8 100644
--- a/lib/public/files.php
+++ b/lib/public/files.php
@@ -34,8 +34,6 @@ namespace OCP;
* This class provides access to the internal filesystem abstraction layer. Use this class exlusively if you want to access files
*/
class Files {
-
-
/**
* @brief Recusive deletion of folders
* @param string $dir path to the folder
@@ -45,7 +43,6 @@ class Files {
\OC_Helper::rmdirr( $dir );
}
-
/**
* get the mimetype form a local file
* @param string path
@@ -56,7 +53,6 @@ class Files {
return(\OC_Helper::getMimeType( $path ));
}
-
/**
* copy the contents of one stream to another
* @param resource source
@@ -67,7 +63,6 @@ class Files {
return(\OC_Helper::streamCopy( $source, $target ));
}
-
/**
* create a temporary file with an unique filename
* @param string postfix
@@ -79,7 +74,6 @@ class Files {
return(\OC_Helper::tmpFile( $postfix ));
}
-
/**
* create a temporary folder with an unique filename
* @return string
@@ -90,7 +84,6 @@ class Files {
return(\OC_Helper::tmpFolder());
}
-
/**
* Adds a suffix to the name in case the file exists
*
@@ -102,16 +95,12 @@ class Files {
return(\OC_Helper::buildNotExistingFileName( $path, $filename ));
}
- /**
- * @param string appid
- * @param $app app
- * @return OC_FilesystemView
- */
- public static function getStorage( $app ) {
+ /**
+ * @param string appid
+ * @param $app app
+ * @return OC_FilesystemView
+ */
+ public static function getStorage( $app ) {
return \OC_App::getStorage( $app );
}
-
-
-
-
}