class Google::Cloud::Env::FileSystem

Access to file system contents.

This is a simple class that reads the contents of objects in the file system, caching data so that subsequent accesses do not need to reread the file system.

You can also “mock” the file system by providing a hash of overrides. If overrides are present, actual file system access is disabled; that is, overrides are “all or nothing”.

This class does not provide any controls for data size. If you read a large file, its contents will stay in memory for the lifetime of the Ruby process.