|
faio
faio 公共 C++ 接口参考
|
文件类型、大小、权限和时间信息。 更多...
Public 成员函数 | |
| std::uint64_t | len () const noexcept |
| 查询元数据记录的文件长度。 | |
| bool | is_file () const noexcept |
| 判断元数据是否为普通文件。 | |
| bool | is_dir () const noexcept |
| 判断元数据是否为目录。 | |
| bool | is_symlink () const noexcept |
| 判断元数据是否为符号链接。 | |
| Permissions | permissions () const noexcept |
| 读取当前权限值。 | |
| bool | same_file (const Metadata &other) const noexcept |
| 比较两份元数据是否标识同一文件。 | |
| std::filesystem::file_type | file_type () const noexcept |
| 查询文件系统类型。 | |
| std::chrono::system_clock::time_point | modified () const noexcept |
| 取得元数据快照中的修改时间。 | |
| std::chrono::system_clock::time_point | accessed () const noexcept |
| 取得元数据快照中的访问时间。 | |
文件类型、大小、权限和时间信息。
|
noexcept |
查询元数据记录的文件长度。
|
noexcept |
判断元数据是否为普通文件。
|
noexcept |
判断元数据是否为目录。
|
noexcept |
判断元数据是否为符号链接。
|
noexcept |
读取当前权限值。
|
noexcept |
比较两份元数据是否标识同一文件。
| other | 被复制、移动或比较的同类型对象;移动后源对象按该类型约定变空。 |
|
noexcept |
查询文件系统类型。
|
noexcept |
取得元数据快照中的修改时间。
|
noexcept |
取得元数据快照中的访问时间。