copy()
delete()
forge()
get_path()
get_permissions()
get_size()
get_time()
get_url()
move()
read()
rename()
update()
__construct()
$area
$path
$readonly
$resource
copy(string $new_path) : bool
stringpath to target directory, must be valid
booldelete() : bool
boolforge($path, array $config, \Fuel\Core\File_Area $area, $content)
get_path() : string
stringFile pathget_size() : int
intFile sizeget_time(string $type) : int
stringmodified or created
intUnix Timestampget_url() : bool
boolmove(string $new_path) : bool
stringpath to new directory, must be valid
boolread(bool $as_string) : string | \Fuel\Core\IO
boolwhether to use file_get_contents() or readfile()
string\Fuel\Core\IO
rename(string $new_name, string | bool $new_extension) : bool
stringnew filename
stringboolnew extension, false to keep current
boolupdate(mixed $new_content) : bool
mixednew file contents
bool__construct($path, array $config, \Fuel\Core\File_Area $area, $content)
$path : string
$readonly : bool
$resource : Resource