LazyFolder

class OC\Files\Node\LazyFolder
Class LazyFolder
This is a lazy wrapper around a folder. So only
once it is needed this will get initialized.
Source:lib/private/Files/Node/LazyFolder.php#37
Implements:OCP\Files\Folder

Properties

Methods

public OC\Files\Node\LazyFolder::__construct($folderClosure)
LazyFolder constructor.
Source:

lib/private/Files/Node/LazyFolder.php#49

Parameters:
  • $folderClosure (Closure)
public OC\Files\Node\LazyFolder::__call($method, $args)
Magic method to first get the real rootFolder and then
call $method with $args on it
Source:

lib/private/Files/Node/LazyFolder.php#61

Parameters:
  • $method
  • $args
Returns:

mixed

public OC\Files\Node\LazyFolder::getUser()
Source:lib/private/Files/Node/LazyFolder.php#72
public OC\Files\Node\LazyFolder::listen($scope, $method, $callback)
Source:lib/private/Files/Node/LazyFolder.php#79
public OC\Files\Node\LazyFolder::removeListener($scope=null, $method=null, $callback=null)
Source:lib/private/Files/Node/LazyFolder.php#86
public OC\Files\Node\LazyFolder::emit($scope, $method, $arguments=[])
Source:lib/private/Files/Node/LazyFolder.php#93
public OC\Files\Node\LazyFolder::mount($storage, $mountPoint, $arguments=[])
Source:lib/private/Files/Node/LazyFolder.php#100
public OC\Files\Node\LazyFolder::getMount($mountPoint)
Source:lib/private/Files/Node/LazyFolder.php#107
public OC\Files\Node\LazyFolder::getMountsIn($mountPoint)
Source:lib/private/Files/Node/LazyFolder.php#114
public OC\Files\Node\LazyFolder::getMountByStorageId($storageId)
Source:lib/private/Files/Node/LazyFolder.php#121
public OC\Files\Node\LazyFolder::getMountByNumericStorageId($numericId)
Source:lib/private/Files/Node/LazyFolder.php#128
public OC\Files\Node\LazyFolder::unMount($mount)
Source:lib/private/Files/Node/LazyFolder.php#135
public OC\Files\Node\LazyFolder::get($path)
Source:lib/private/Files/Node/LazyFolder.php#142
public OC\Files\Node\LazyFolder::rename($targetPath)
Source:lib/private/Files/Node/LazyFolder.php#149
public OC\Files\Node\LazyFolder::delete()
Source:lib/private/Files/Node/LazyFolder.php#156
public OC\Files\Node\LazyFolder::copy($targetPath)
Source:lib/private/Files/Node/LazyFolder.php#163
public OC\Files\Node\LazyFolder::touch($mtime=null)
Source:lib/private/Files/Node/LazyFolder.php#170
public OC\Files\Node\LazyFolder::getStorage()
Source:lib/private/Files/Node/LazyFolder.php#177
public OC\Files\Node\LazyFolder::getPath()
Source:lib/private/Files/Node/LazyFolder.php#184
public OC\Files\Node\LazyFolder::getInternalPath()
Source:lib/private/Files/Node/LazyFolder.php#191
public OC\Files\Node\LazyFolder::getId()
Source:lib/private/Files/Node/LazyFolder.php#198
public OC\Files\Node\LazyFolder::stat()
Source:lib/private/Files/Node/LazyFolder.php#205
public OC\Files\Node\LazyFolder::getMTime()
Source:lib/private/Files/Node/LazyFolder.php#212
public OC\Files\Node\LazyFolder::getSize($includeMounts=true)
Source:lib/private/Files/Node/LazyFolder.php#219
public OC\Files\Node\LazyFolder::getEtag()
Source:lib/private/Files/Node/LazyFolder.php#226
public OC\Files\Node\LazyFolder::getPermissions()
Source:lib/private/Files/Node/LazyFolder.php#233
public OC\Files\Node\LazyFolder::isReadable()
Source:lib/private/Files/Node/LazyFolder.php#240
public OC\Files\Node\LazyFolder::isUpdateable()
Source:lib/private/Files/Node/LazyFolder.php#247
public OC\Files\Node\LazyFolder::isDeletable()
Source:lib/private/Files/Node/LazyFolder.php#254
public OC\Files\Node\LazyFolder::isShareable()
Source:lib/private/Files/Node/LazyFolder.php#261
public OC\Files\Node\LazyFolder::getParent()
Source:lib/private/Files/Node/LazyFolder.php#268
public OC\Files\Node\LazyFolder::getName()
Source:lib/private/Files/Node/LazyFolder.php#275
public OC\Files\Node\LazyFolder::getUserFolder($userId)
Source:lib/private/Files/Node/LazyFolder.php#282
public OC\Files\Node\LazyFolder::getMimetype()
Source:lib/private/Files/Node/LazyFolder.php#289
public OC\Files\Node\LazyFolder::getMimePart()
Source:lib/private/Files/Node/LazyFolder.php#296
public OC\Files\Node\LazyFolder::isEncrypted()
Source:lib/private/Files/Node/LazyFolder.php#303
public OC\Files\Node\LazyFolder::getType()
Source:lib/private/Files/Node/LazyFolder.php#310
public OC\Files\Node\LazyFolder::isShared()
Source:lib/private/Files/Node/LazyFolder.php#317
public OC\Files\Node\LazyFolder::isMounted()
Source:lib/private/Files/Node/LazyFolder.php#324
public OC\Files\Node\LazyFolder::getMountPoint()
Source:lib/private/Files/Node/LazyFolder.php#331
public OC\Files\Node\LazyFolder::getOwner()
Source:lib/private/Files/Node/LazyFolder.php#338
public OC\Files\Node\LazyFolder::getChecksum()
Source:lib/private/Files/Node/LazyFolder.php#345
public OC\Files\Node\LazyFolder::getExtension()
Source:lib/private/Files/Node/LazyFolder.php#349
public OC\Files\Node\LazyFolder::getFullPath($path)
Source:lib/private/Files/Node/LazyFolder.php#356
public OC\Files\Node\LazyFolder::getRelativePath($path)
Source:lib/private/Files/Node/LazyFolder.php#363
public OC\Files\Node\LazyFolder::isSubNode($node)
Source:lib/private/Files/Node/LazyFolder.php#370
public OC\Files\Node\LazyFolder::getDirectoryListing()
Source:lib/private/Files/Node/LazyFolder.php#377
public OC\Files\Node\LazyFolder::nodeExists($path)
Source:lib/private/Files/Node/LazyFolder.php#384
public OC\Files\Node\LazyFolder::newFolder($path)
Source:lib/private/Files/Node/LazyFolder.php#391
public OC\Files\Node\LazyFolder::newFile($path, $content=null)
Source:lib/private/Files/Node/LazyFolder.php#398
public OC\Files\Node\LazyFolder::search($query)
Source:lib/private/Files/Node/LazyFolder.php#405
public OC\Files\Node\LazyFolder::searchByMime($mimetype)
Source:lib/private/Files/Node/LazyFolder.php#412
public OC\Files\Node\LazyFolder::searchByTag($tag, $userId)
Source:lib/private/Files/Node/LazyFolder.php#419
public OC\Files\Node\LazyFolder::getById($id)
Source:lib/private/Files/Node/LazyFolder.php#426
public OC\Files\Node\LazyFolder::getFreeSpace()
Source:lib/private/Files/Node/LazyFolder.php#433
public OC\Files\Node\LazyFolder::isCreatable()
Source:lib/private/Files/Node/LazyFolder.php#440
public OC\Files\Node\LazyFolder::getNonExistingName($name)
Source:lib/private/Files/Node/LazyFolder.php#447
public OC\Files\Node\LazyFolder::move($targetPath)
Source:lib/private/Files/Node/LazyFolder.php#454
public OC\Files\Node\LazyFolder::lock($type)
Source:lib/private/Files/Node/LazyFolder.php#461
public OC\Files\Node\LazyFolder::changeLock($targetType)
Source:lib/private/Files/Node/LazyFolder.php#468
public OC\Files\Node\LazyFolder::unlock($type)
Source:lib/private/Files/Node/LazyFolder.php#475
public OC\Files\Node\LazyFolder::getRecent($limit, $offset=0)
Source:lib/private/Files/Node/LazyFolder.php#482
public OC\Files\Node\LazyFolder::getCreationTime()
Source:lib/private/Files/Node/LazyFolder.php#489
public OC\Files\Node\LazyFolder::getUploadTime()
Source:lib/private/Files/Node/LazyFolder.php#496