summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache/Cache.php
diff options
context:
space:
mode:
authorluz paz <luzpaz@github.com>2022-07-27 08:51:42 -0400
committerluz paz <luzpaz@pm.me>2022-07-27 08:52:17 -0400
commit368f83095d443c28b0d90d2308549349cc28dd05 (patch)
tree34dad42801d67a12fb183892e81f7eea3b641950 /lib/private/Files/Cache/Cache.php
parent3e9c52ae5f640e40f26beec76c26272cf7fb1387 (diff)
downloadnextcloud-server-368f83095d443c28b0d90d2308549349cc28dd05.tar.gz
nextcloud-server-368f83095d443c28b0d90d2308549349cc28dd05.zip
Fix typos in lib/private subdirectory
Found via `codespell -q 3 -S l10n -L jus ./lib/private` Signed-off-by: luz paz <luzpaz@github.com>
Diffstat (limited to 'lib/private/Files/Cache/Cache.php')
-rw-r--r--lib/private/Files/Cache/Cache.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php
index 33a07e9b9e5..110e55bcc6c 100644
--- a/lib/private/Files/Cache/Cache.php
+++ b/lib/private/Files/Cache/Cache.php
@@ -64,7 +64,7 @@ use Psr\Log\LoggerInterface;
/**
* Metadata cache for a storage
*
- * The cache stores the metadata for all files and folders in a storage and is kept up to date trough the following mechanisms:
+ * The cache stores the metadata for all files and folders in a storage and is kept up to date through the following mechanisms:
*
* - Scanner: scans the storage 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
@@ -582,7 +582,7 @@ class Cache implements ICache {
$parentIds = [$entry->getId()];
$queue = [$entry->getId()];
- // we walk depth first trough the file tree, removing all filecache_extended attributes while we walk
+ // we walk depth first through the file tree, removing all filecache_extended attributes while we walk
// and collecting all folder ids to later use to delete the filecache entries
while ($entryId = array_pop($queue)) {
$children = $this->getFolderContentsById($entryId);