Vridlo/types/Ref: Difference between revisions
(Created page with "'''Ref''' is structure that represents git repo tag or commit reference, and it is described as: * '''sha''' is ''string[56] '''mandatory write-once''''' [https://en.wikiped...") |
No edit summary |
||
Line 1: | Line 1: | ||
'''Ref''' is structure that represents git repo tag or commit reference, and it is described as: | '''Ref''' is structure that represents git repo tag or commit reference, and it is described as: | ||
* '''sha''' is ''string[ | * '''sha''' is ''string[40] '''mandatory write-once''''' | ||
[https://en.wikipedia.org/wiki/SHA- | [https://en.wikipedia.org/wiki/SHA-1 SHA1 224] 40-byted checksum over the referenced object. Is used as unique object index. | ||
* '''name''' is ''string '''mandatory write-once''''' | * '''name''' is ''string '''mandatory write-once''''' |
Revision as of 16:17, 12 December 2019
Ref is structure that represents git repo tag or commit reference, and it is described as:
- sha is string[40] mandatory write-once
SHA1 224 40-byted checksum over the referenced object. Is used as unique object index.
- name is string mandatory write-once
Name of the referenced object, in format of changelog,
- kind is datetime mandatory write-once
Type of the referenced object, can one of tag, commit,
- author_email is string mandatory
Author's email of the commit or tag.
- authored_at is datetime mandatory
Date of the commit or tag, which was done by the author.
- signed is boolean optional
Flag shows wheither the referenced object is signed.
- message is natural optional
Message text of the reference.