Skip to main content
You can get information about a file or directory in a volume using the getInfo() / get_info() method.

Getting information about a file

Getting information about a directory

Checking if a path exists

You can check whether a file or directory exists in a volume using the exists() method.

Updating metadata

You can update file or directory metadata such as user ID, group ID, and permissions mode using the updateMetadata() / update_metadata() method.