Lines Matching refs:files
972 * Returns a list of files in the given directory
993 $files = $this->readlist($dir, false);
997 if (is_int($files)) {
1001 if (!$recursive || $files === false) {
1002 return $files;
1006 foreach ($files as $value) {
1024 * Returns a detailed list of files in the given directory
1032 $files = $this->readlist($dir, true);
1036 if (is_int($files)) {
1040 if (!$recursive || $files === false) {
1041 return $files;
1046 foreach ($files as $key => $value) {
1048 unset($files[$key]);
1063 $files[$key] = $this->rawlist($dir . '/' . $key, true);
1066 $files[$key] = (object) $value;
1070 return $files;
1074 * Reads a list, be it detailed or not, of files in the given directory
1246 * If sorting is enabled directories and files will be sorted independently with
1247 * directories appearing before files in the resultant array that is returned.
1257 * Separates directories from files but doesn't do any sorting beyond that
1279 * Save files / directories to cache
1322 * Remove files / directories from cache
2351 * $offset and $length can be used to download files in chunks.
2588 // permissions didn't allow reading. If this happens then default to an empty list of files.
2832 private static function recursiveFilesize(array $files)
2835 foreach ($files as $name => $file) {
3212 // "SPECIAL should be used for files that are of