Vridlo/types/File

From ALT Linux Wiki
< Vridlo/types
Revision as of 17:06, 28 November 2019 by Majioa (talk | contribs) (Created page with "'''File''' structure description is: * '''id''' is ''string'' (Mandatory) Unique internal identifier of the file. * '''description''' is '''' (Mandatory) Description of th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

File structure description is:

  • id is string (Mandatory)
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)
Count of file sources which the file is used in.
  • rpm_file_count is ' (Mandatory)
Count of actual RP files which the file is used in.
  • all_rpm_file_count is ' (Mandatory)
Count of all RPM files which the file is used in.