|
|
|
|
@ -31,8 +31,8 @@ use OCP\Files\Search\ISearchQuery; |
|
|
|
|
* The cache stores the metadata for all files and folders in a storage and is kept up to date trough the following mechanisms: |
|
|
|
|
* |
|
|
|
|
* - Scanner: scans the storage and updates the cache where needed |
|
|
|
|
* - Watcher: checks for changes made to the filesystem outside of the ownCloud instance and rescans files and folder when a change is detected |
|
|
|
|
* - Updater: listens to changes made to the filesystem inside of the ownCloud instance and updates the cache where needed |
|
|
|
|
* - Watcher: checks for changes made to the filesystem outside of the Nextcloud instance and rescans files and folder when a change is detected |
|
|
|
|
* - Updater: listens to changes made to the filesystem inside of the Nextcloud instance and updates the cache where needed |
|
|
|
|
* - ChangePropagator: updates the mtime and etags of parent folders whenever a change to the cache is made to the cache by the updater |
|
|
|
|
* |
|
|
|
|
* @since 9.0.0 |
|
|
|
|
@ -119,7 +119,7 @@ interface ICache { |
|
|
|
|
/** |
|
|
|
|
* get the file id for a file |
|
|
|
|
* |
|
|
|
|
* A file id is a numeric id for a file or folder that's unique within an owncloud instance which stays the same for the lifetime of a file |
|
|
|
|
* A file id is a numeric id for a file or folder that's unique within an Nextcloud instance which stays the same for the lifetime of a file |
|
|
|
|
* |
|
|
|
|
* File ids are easiest way for apps to store references to a file since unlike paths they are not affected by renames or sharing |
|
|
|
|
* |
|
|
|
|
|