filesystem_helper.php
system/Helpers/filesystem_helper.php
11 fn
directory_map
(string $sourceDir, int $directoryDepth = 0, bool $hidden = false)
directory_mirror
(string $originDir, string $targetDir, bool $overwrite = true)
write_file
(string $path, string $data, string $mode = 'wb')
delete_files
(string $path, bool $delDir = false, bool $htdocs = false, bool $hidden = false)
get_filenames
(string $sourceDir, ?bool $includePath = false, bool $hidden = false, bool $includeDir = true, )
get_dir_file_info
(string $sourceDir, bool $topLevelOnly = true, bool $recursion = false)
get_file_info
(string $file, $returnedValues = ['name', 'server_path', 'size', 'date'])
symbolic_permissions
(int $perms)
octal_permissions
(int $perms)
same_file
(string $file1, string $file2)
set_realpath
(string $path, bool $checkExistence = false)