libostree: Document endianness of GVariant metadata types
Endianness strikes again. Signed-off-by: Philip Withnall <withnall@endlessm.com> Closes: #826 Approved by: cgwalters
This commit is contained in:
parent
9aa8d420cf
commit
015ce7520b
|
|
@ -104,9 +104,9 @@ typedef enum {
|
||||||
/**
|
/**
|
||||||
* OSTREE_DIRMETA_GVARIANT_FORMAT:
|
* OSTREE_DIRMETA_GVARIANT_FORMAT:
|
||||||
*
|
*
|
||||||
* - u - uid
|
* - u - uid (big-endian)
|
||||||
* - u - gid
|
* - u - gid (big-endian)
|
||||||
* - u - mode
|
* - u - mode (big-endian)
|
||||||
* - a(ayay) - xattrs
|
* - a(ayay) - xattrs
|
||||||
*/
|
*/
|
||||||
#define OSTREE_DIRMETA_GVARIANT_STRING "(uuua(ayay))"
|
#define OSTREE_DIRMETA_GVARIANT_STRING "(uuua(ayay))"
|
||||||
|
|
@ -120,9 +120,9 @@ typedef enum {
|
||||||
* can't store in the real filesystem but we can still use a regular .file object
|
* can't store in the real filesystem but we can still use a regular .file object
|
||||||
* that we can hardlink to in the case of a user-mode checkout.
|
* that we can hardlink to in the case of a user-mode checkout.
|
||||||
*
|
*
|
||||||
* - u - uid
|
* - u - uid (big-endian)
|
||||||
* - u - gid
|
* - u - gid (big-endian)
|
||||||
* - u - mode
|
* - u - mode (big-endian)
|
||||||
* - a(ayay) - xattrs
|
* - a(ayay) - xattrs
|
||||||
*/
|
*/
|
||||||
#define OSTREE_FILEMETA_GVARIANT_STRING "(uuua(ayay))"
|
#define OSTREE_FILEMETA_GVARIANT_STRING "(uuua(ayay))"
|
||||||
|
|
@ -145,7 +145,7 @@ typedef enum {
|
||||||
* - a(say) - Related objects
|
* - a(say) - Related objects
|
||||||
* - s - subject
|
* - s - subject
|
||||||
* - s - body
|
* - s - body
|
||||||
* - t - Timestamp in seconds since the epoch (UTC)
|
* - t - Timestamp in seconds since the epoch (UTC, big-endian)
|
||||||
* - ay - Root tree contents
|
* - ay - Root tree contents
|
||||||
* - ay - Root tree metadata
|
* - ay - Root tree metadata
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue