core: Add malloc-free API for objects, use *at functions for storing
This is more efficient; we avoid malloc of a number of pathname + GFile objects, plus the kernel doesn't have to traverse the repo path again.
This commit is contained in:
1 parent
2506e8fb26
commit
a7c0992d94
8 files changed
+180
-108
No files matched your search
@@ -34,6 +34,7 @@ struct OstreeRepo {
|
||||
GFile *local_heads_dir;
|
||||
GFile *remote_heads_dir;
|
||||
GFile *objects_dir;
|
||||
int objects_dir_fd;
|
||||
GFile *uncompressed_objects_dir;
|
||||
GFile *remote_cache_dir;
|
||||
GFile *config_file;
|
||||
|
||||
Reference in new issue
Block a user