* Callers should consider using getScopedFileLocks() instead.
*
* @param $paths Array Storage paths
- * @param $type integer LockManager::LOCK_EX, LockManager::LOCK_SH
+ * @param $type integer LockManager::LOCK_* constant
* @return Status
*/
final public function lockFiles( array $paths, $type ) {
* Unlock the files at the given storage paths in the backend.
*
* @param $paths Array Storage paths
- * @param $type integer LockManager::LOCK_EX, LockManager::LOCK_SH
+ * @param $type integer LockManager::LOCK_* constant
* @return Status
*/
final public function unlockFiles( array $paths, $type ) {
* the status updated. Unlock fatals will not change the status "OK" value.
*
* @param $paths Array Storage paths
- * @param $type integer LockManager::LOCK_EX, LockManager::LOCK_SH
+ * @param $type integer LockManager::LOCK_* constant
* @param $status Status Status to update on lock/unlock
* @return ScopedLock|null Returns null on failure
*/
* $params include:
* src : source path on disk
* dst : destination storage path
- * overwriteDest : do nothing and pass if an identical file exists at destination
+ * overwriteDest : overwrite any file that exists at the destination
*
* @param $params Array
* @return Status
* $params include:
* src : source storage path
* dst : destination storage path
- * overwriteDest : do nothing and pass if an identical file exists at destination
+ * overwriteDest : overwrite any file that exists at the destination
*
* @param $params Array
* @return Status
* Delete a file at the storage path.
* Do not call this function from places outside FileBackend and FileOp.
* $params include:
- * src : source storage path
+ * src : source storage path
+ * ignoreMissingSource : do nothing if the source file does not exist
*
* @param $params Array
* @return Status
* $params include:
* src : source storage path
* dst : destination storage path
- * overwriteDest : do nothing and pass if an identical file exists at destination
+ * overwriteDest : overwrite any file that exists at the destination
*
* @param $params Array
* @return Status
* $params include:
* srcs : ordered source storage paths (e.g. chunk1, chunk2, ...)
* dst : destination storage path
- * overwriteDest : do nothing and pass if an identical file exists at destination
+ * overwriteDest : overwrite any file that exists at the destination
*
* @param $params Array
* @return Status
* $params include:
* content : the raw file contents
* dst : destination storage path
- * overwriteDest : do nothing and pass if an identical file exists at destination
+ * overwriteDest : overwrite any file that exists at the destination
*
* @param $params Array
* @return Status