libostree: Document more core macros
This commit is contained in:
1 parent
349d7958f3
commit
c3121b52bc
3 files changed
+67
-36
No files matched your search
@@ -40,9 +40,20 @@
|
||||
* @title: Core repository-independent functions
|
||||
* @short_description: Create, validate, and convert core data types
|
||||
*
|
||||
* These functions make up the core data manipulation functions of
|
||||
* OSTree, such as serializing/deserializing metadata, converting
|
||||
* between different types of checksums, and validating input.
|
||||
* These functions implement repository-independent algorithms for
|
||||
* operating on the core OSTree data formats, such as converting
|
||||
* #GFileInfo into a #GVariant.
|
||||
*
|
||||
* There are 4 types of objects; file, dirmeta, tree, and commit. The
|
||||
* last 3 are metadata, and the file object is the only content object
|
||||
* type.
|
||||
*
|
||||
* All metadata objects are stored as #GVariant (big endian). The
|
||||
* rationale for this is the same as that of the ext{2,3,4} family of
|
||||
* filesystems; most developers will be using LE, and so it's better
|
||||
* to continually test the BE->LE swap.
|
||||
*
|
||||
* The file object is a custom format in order to support streaming.
|
||||
*/
|
||||
|
||||
const GVariantType *
|
||||
|
||||
Reference in new issue
Block a user