Example #1
0
 /**
  * get the stored metadata of a file or folder
  *
  * @param string /int $file
  * @return array|false
  */
 public function get($file)
 {
     if (is_string($file) or $file == '') {
         $file = $this->getSourcePath($file);
     }
     return parent::get($file);
 }
 /**
  * @param \OC\Files\Cache\Cache $cache
  * @param int $mask
  */
 public function __construct($cache, $mask)
 {
     parent::__construct($cache);
     $this->mask = $mask;
 }