Skip to content

Commit

Permalink
Add phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Nov 16, 2015
1 parent bf96f04 commit 8250e3a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/private/files/cache/propagator.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@

namespace OC\Files\Cache;

/**
* Propagate etags and mtimes within the storage
*/
class Propagator {
/**
* @var \OC\Files\Storage\Storage
Expand Down
5 changes: 5 additions & 0 deletions lib/private/files/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -1160,6 +1160,11 @@ public function hasUpdated($path, $time) {
}

/**
* Get file info from cache
*
* If the file is not in cached it will be scanned
* If the file has changed on storage the cache will be updated
*
* @param \OC\Files\Storage\Storage $storage
* @param string $internalPath
* @param string $relativePath
Expand Down

0 comments on commit 8250e3a

Please sign in to comment.