core: Move pack file parsing into core, add ostree_create_file_from_input() API

This moves us closer to consistently passing around a triple of:
  (GFileInfo *info, GVariant *xattrs, GInputStream *content)
Which will help the libarchive work.
This commit is contained in:
Colin Walters committed 2011-12-02 10:11:09 -05:00
1 parent f98e2a2ddb
commit 7fc625c967
6 files changed
+227 -308

No files matched your search

+2
View File
@@ -29,6 +29,8 @@ G_BEGIN_DECLS
#define OSTREE_GIO_FAST_QUERYINFO "standard::name,standard::type,standard::is-symlink,standard::symlink-target,standard::is-hidden,unix::*"
GFileType ot_gfile_type_for_mode (guint32 mode);
GFile *ot_gfile_new_for_path (const char *path);
const char *ot_gfile_get_path_cached (GFile *file);