include: co/fs.h.
The fs module implements common file system operations. It is recommended to use / uniformly as the path separator on different platforms.
Metadata operations #fs::exists bool exists(const char path); bool exists(const fastring& path); bool exists(const std::string& path); Check whether the file exists, the parameter path is the path of a file or directory. #fs::fsize int64 fsize(const char path); int64 fsize(const fastring& path); int64 fsize(const std::string& path); Get the file size.
https://coostdocs.github.io/en/co/other/fs/
include: co/fs.h. The fs module implements common file system operations. It is recommended to use / uniformly as the path separator on different platforms.
Metadata operations #fs::exists bool exists(const char path); bool exists(const fastring& path); bool exists(const std::string& path); Check whether the file exists, the parameter path is the path of a file or directory. #fs::fsize int64 fsize(const char path); int64 fsize(const fastring& path); int64 fsize(const std::string& path); Get the file size.