style fixes for public files api

This commit is contained in:
Georg Ehrke 2012-09-08 16:02:11 +02:00
parent 6b2b8b10ee
commit 89e5b85fa7
1 changed files with 6 additions and 17 deletions

View File

@ -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
*
@ -110,8 +103,4 @@ class Files {
public static function getStorage( $app ) {
return \OC_App::getStorage( $app );
}
}