Vridlo/types/File

From ALT Linux Wiki
< Vridlo/types
Revision as of 17:29, 28 November 2019 by Majioa (talk | contribs)

File structure description is:

  • id is natural mandatory read-only
Unique internal identifier of the file.
  • description is string mandatory read-only
Description of the file as a binary inferred from file utility v5.
  • mime_type is string mandatory read-only
MIME Type of the file as a binary inferred from file utility v5.
  • mime_encoding is string mandatory read-only
MIME Encoding of the file as a binary inferred from file utility v5.
  • sha is string[56] mandatory read-only
SHA2 224 56-byted checksum over the file containment. Can be used as unique file index.
  • file_source_count is natural mandatory read-only
Count of file sources which the file is used in.
  • rpm_file_count is natural mandatory read-only
Count of actual RP files which the file is used in.
  • all_rpm_file_count is natural mandatory read-only
Count of all RPM files which the file is used in. Shall be more or equal to rpm_file_count value.