Interacting with the File System
Albert Danial · Apress eBooks · 2022
A program that reads or writes files must sometimes interact with the file system in other ways, for example, checking whether or not a file or directory exists, seeing if a file can be read or written to, getting file size or modification time, reading a directory’s contents, and so on.