Vridlo/types/File

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

File structure description is:

  • id is string (Mandatory, Read-only)
Unique internal identifier of the file.
  • description is ' (Mandatory)
Description of the file inferred from file utility v5.
  • mime_type is ' (Mandatory)
MIME Type of the file inferred from file utility v5.
  • mime_encoding is ' (Mandatory)
MIME Encoding of the file inferred from file utility v5.
  • sha is ' (Mandatory)
SHA2 224 56-byted checksum over the file containment. Can be used as unique file index.
  • file_sources_count is ' (Mandatory, Read-only)
Count of file sources which the file is used in.
  • rpm_file_count is ' (Mandatory, Read-only)
Count of actual RP files which the file is used in.
  • all_rpm_file_count is ' (Mandatory, Read-only)
Count of all RPM files which the file is used in.