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
path: root/lib
diff options
context:
space:
mode:
authorNiko Ehrenfeuchter <gitorious@he1ix.org>2012-06-03 19:53:01 +0400
committerNiko Ehrenfeuchter <mail@he1ix.org>2012-09-10 18:03:46 +0400
commitac4364040d905c8719a68bc90e9811fb4b682a5f (patch)
treed3211403b59a8d8e5a9c48108748c9a237fa1a36 /lib
parent526e704c9f04bc689094083d070745ea8c661ff9 (diff)
fix typos + copy-paste errors in comments
Diffstat (limited to 'lib')
-rw-r--r--lib/filecache.php4
-rw-r--r--lib/filesystem.php20
2 files changed, 12 insertions, 12 deletions
diff --git a/lib/filecache.php b/lib/filecache.php
index 7b7a2fac3ea..4042815d9ff 100644
--- a/lib/filecache.php
+++ b/lib/filecache.php
@@ -23,7 +23,7 @@
* provide caching for filesystem info in the database
*
* not used by OC_Filesystem for reading filesystem info,
- * instread apps should use OC_FileCache::get where possible
+ * instead apps should use OC_FileCache::get where possible
*
* It will try to keep the data up to date but changes from outside ownCloud can invalidate the cache
*/
@@ -491,7 +491,7 @@ class OC_FileCache{
}
/**
- * called when files are deleted
+ * called when files are renamed
* @param array $params
* @param string root (optional)
*/
diff --git a/lib/filesystem.php b/lib/filesystem.php
index 2a0c1cea93e..372b611453d 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -24,20 +24,20 @@
/**
* Class for abstraction of filesystem functions
- * This class won't call any filesystem functions for itself but but will pass them to the correct OC_Filestorage object
- * this class should also handle all the file premission related stuff
+ * This class won't call any filesystem functions for itself but will pass them to the correct OC_Filestorage object
+ * this class should also handle all the file permission related stuff
*
* Hooks provided:
* read(path)
* write(path, &run)
* post_write(path)
- * create(path, &run) (when a file is created, both create and write will be emited in that order)
+ * create(path, &run) (when a file is created, both create and write will be emitted in that order)
* post_create(path)
* delete(path, &run)
* post_delete(path)
* rename(oldpath,newpath, &run)
* post_rename(oldpath,newpath)
- * copy(oldpath,newpath, &run) (if the newpath doesn't exists yes, copy, create and write will be emited in that order)
+ * copy(oldpath,newpath, &run) (if the newpath doesn't exists yes, copy, create and write will be emitted in that order)
* post_rename(oldpath,newpath)
*
* the &run parameter can be set to false to prevent the operation from occuring
@@ -59,28 +59,28 @@ class OC_Filesystem{
const CLASSNAME = 'OC_Filesystem';
/**
- * signalname emited before file renaming
+ * signalname emitted before file renaming
* @param oldpath
* @param newpath
*/
const signal_rename = 'rename';
/**
- * signal emited after file renaming
+ * signal emitted after file renaming
* @param oldpath
* @param newpath
*/
const signal_post_rename = 'post_rename';
/**
- * signal emited before file/dir creation
+ * signal emitted before file/dir creation
* @param path
* @param run changing this flag to false in hook handler will cancel event
*/
const signal_create = 'create';
/**
- * signal emited after file/dir creation
+ * signal emitted after file/dir creation
* @param path
* @param run changing this flag to false in hook handler will cancel event
*/
@@ -371,7 +371,7 @@ class OC_Filesystem{
}
/**
- * checks if a file is blacklsited for storage in the filesystem
+ * checks if a file is blacklisted for storage in the filesystem
* Listens to write and rename hooks
* @param array $data from hook
*/
@@ -391,7 +391,7 @@ class OC_Filesystem{
}
/**
- * following functions are equivilent to their php buildin equivilents for arguments/return values.
+ * following functions are equivalent to their php builtin equivalents for arguments/return values.
*/
static public function mkdir($path){
return self::$defaultInstance->mkdir($path);