libostree: Delete some leftover remnant API for archive files

This commit is contained in:
Colin Walters 2013-08-17 14:08:04 -04:00
parent 35d7b9cdbf
commit 00c352ba67
4 changed files with 0 additions and 24 deletions

View File

@ -31,7 +31,6 @@ ostree_object_name_deserialize
ostree_object_to_string ostree_object_to_string
ostree_object_from_string ostree_object_from_string
ostree_get_relative_object_path ostree_get_relative_object_path
ostree_get_relative_archive_content_path
ostree_get_xattrs_for_file ostree_get_xattrs_for_file
ostree_set_xattrs ostree_set_xattrs
ostree_map_metadata_file ostree_map_metadata_file

View File

@ -1378,23 +1378,6 @@ ostree_get_relative_object_path (const char *checksum,
return g_string_free (path, FALSE); return g_string_free (path, FALSE);
} }
char *
ostree_get_relative_archive_content_path (const char *checksum)
{
GString *path;
g_assert (strlen (checksum) == 64);
path = g_string_new ("objects/");
g_string_append_len (path, checksum, 2);
g_string_append_c (path, '/');
g_string_append (path, checksum + 2);
g_string_append (path, ".filecontent");
return g_string_free (path, FALSE);
}
/** /**
* ostree_file_header_parse: * ostree_file_header_parse:
* @metadata: A metadata variant of type %OSTREE_FILE_HEADER_GVARIANT_FORMAT * @metadata: A metadata variant of type %OSTREE_FILE_HEADER_GVARIANT_FORMAT

View File

@ -197,8 +197,6 @@ char *ostree_get_relative_object_path (const char *checksum,
OstreeObjectType type, OstreeObjectType type,
gboolean compressed); gboolean compressed);
char *ostree_get_relative_archive_content_path (const char *checksum);
gboolean ostree_get_xattrs_for_file (GFile *f, gboolean ostree_get_xattrs_for_file (GFile *f,
GVariant **out_xattrs, GVariant **out_xattrs,
GCancellable *cancellable, GCancellable *cancellable,

View File

@ -65,10 +65,6 @@ GFile *
_ostree_repo_get_uncompressed_object_cache_path (OstreeRepo *self, _ostree_repo_get_uncompressed_object_cache_path (OstreeRepo *self,
const char *checksum); const char *checksum);
GFile *
_ostree_repo_get_archive_content_path (OstreeRepo *self,
const char *checksum);
GFile * GFile *
_ostree_repo_get_file_object_path (OstreeRepo *self, _ostree_repo_get_file_object_path (OstreeRepo *self,
const char *checksum); const char *checksum);