bool isAbsolutePath(string $file) Returns whether the file path is an absolute path.
rename(string $origin, string $target, bool $overwrite = false) Renames a file or a directory.
bool lock(bool $blocking = false) Lock the resource.
chown(string|array|Traversable $files, string $user, bool $recursive = false)
string makePathRelative(string $endPath, string $startPath) Given an existing path, convert it
chgrp(string|array|Traversable $files, string $group, bool $recursive = false)
dumpFile(string $filename, string $content) Atomically dumps content into a file.
release() Release the resource.
symlink(string $originDir, string $targetDir, bool $copyOnWindows = false) Creates a symbolic link
class Filesystem Provides basic utility to manipulate the file system.
Page 1 of 2