OSTree.CommitSizesEntry¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
archived |
r/w |
compressed object size |
|
checksum |
r/w |
object checksum |
|
objtype |
r/w |
object type |
|
unpacked |
r/w |
unpacked object size |
Methods¶
class |
|
|
|
|
Details¶
- class OSTree.CommitSizesEntry¶
Structure representing an entry in the “ostree.sizes” commit metadata. Each entry corresponds to an object in the associated commit.
New in version 2020.1.
- classmethod new(checksum, objtype, unpacked, archived)¶
- Parameters:
checksum (
str
) – object checksumobjtype (
OSTree.ObjectType
) – object typeunpacked (
int
) – unpacked object sizearchived (
int
) – compressed object size
- Returns:
a new
OSTree.CommitSizesEntry
- Return type:
Create a new
OSTree.CommitSizesEntry
for representing an object in a commit’s “ostree.sizes” metadata.New in version 2020.1.
- copy()¶
- Returns:
a new copy of self
- Return type:
Create a copy of the given self.
New in version 2020.1.
- free()¶
Free given self.
New in version 2020.1.