What is the file system?
A file system is a system that manages files, their contents, as well as the metadata of these files. For example, a file system would manage in what folders the files are stored. It makes sure that we can access these files to read the content and metadata and write new data back. For Godot, this means that Godot Engine manages all resources that we could need in our game, from scenes to scripts, as well as images and sounds.
Metadata
When we have data, such as a text file, it is often accompanied by metadata. This is data about the data. While the text file contains the actual data, that is, the text, the metadata contains information such as the date of creation, who the author was, where it is stored, and what accounts have access to the file.
Let’s start our exploration of file systems with file paths in the next section.
File paths
To be able to locate a file, the file system gives a unique path to each file. On our computer, we...