![]() |
hamigaki::archivers::cpio::header —
struct header { // queries bool is_regular() const; bool is_directory() const; bool is_symlink() const; // modifiers void type(filesystem::file_type); file_format format; filesystem::device_number parent_device; boost::uint32_t file_id; boost::uint16_t permissions; boost::uint32_t uid; boost::uint32_t gid; boost::uint32_t links; filesystem::device_number device; std::time_t modified_time; boost::filesystem::path path; boost::filesystem::path link_path; boost::uint32_t file_size; boost::optional<boost::uint16_t> checksum; };
メンバ変数 | 意味 | 規定値 |
---|---|---|
format | cpio ファイルのフォーマット | posix |
parent_device | ファイルのコンテナとなるデバイス番号 | |
file_id | ファイルのID | |
permissions | ファイル許可属性 (ファイル種別も必要) | 0100644 |
uid | ユーザーID | 0 |
gid | グループID | 0 |
links | ファイルの参照カウント | 1 |
device | ファイル自身のデバイス番号 | |
modified_time | 最終更新時間 | |
path | ファイルのパス名 | |
link_path | リンク先のパス名 | |
file_size | ファイルサイズ | 0 |
checksum | sum16 チェックサム |
製作著作 © 2006, 2007 Takeshi Mouri |