summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-08-17 14:08:04 -0400
committerColin Walters <walters@verbum.org>2013-08-17 14:08:04 -0400
commit00c352ba6778d41100bca5687f2e088da0843fe3 (patch)
treea54a5a98bd449ede2ec71475c2011ddf5c5c706a
parent35d7b9cdbf908527232bf0fcc0238b6d1f26edc3 (diff)
downloadostree-00c352ba6778d41100bca5687f2e088da0843fe3.tar.gz
libostree: Delete some leftover remnant API for archive files
-rw-r--r--doc/ostree-sections.txt1
-rw-r--r--src/libostree/ostree-core.c17
-rw-r--r--src/libostree/ostree-core.h2
-rw-r--r--src/libostree/ostree-repo-private.h4
4 files changed, 0 insertions, 24 deletions
diff --git a/doc/ostree-sections.txt b/doc/ostree-sections.txt
index 98f1d033..af360d51 100644
--- a/doc/ostree-sections.txt
+++ b/doc/ostree-sections.txt
@@ -31,7 +31,6 @@ ostree_object_name_deserialize
ostree_object_to_string
ostree_object_from_string
ostree_get_relative_object_path
-ostree_get_relative_archive_content_path
ostree_get_xattrs_for_file
ostree_set_xattrs
ostree_map_metadata_file
diff --git a/src/libostree/ostree-core.c b/src/libostree/ostree-core.c
index 9d58c3c3..43031579 100644
--- a/src/libostree/ostree-core.c
+++ b/src/libostree/ostree-core.c
@@ -1378,23 +1378,6 @@ ostree_get_relative_object_path (const char *checksum,
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:
* @metadata: A metadata variant of type %OSTREE_FILE_HEADER_GVARIANT_FORMAT
diff --git a/src/libostree/ostree-core.h b/src/libostree/ostree-core.h
index 23d17695..253be08d 100644
--- a/src/libostree/ostree-core.h
+++ b/src/libostree/ostree-core.h
@@ -197,8 +197,6 @@ char *ostree_get_relative_object_path (const char *checksum,
OstreeObjectType type,
gboolean compressed);
-char *ostree_get_relative_archive_content_path (const char *checksum);
-
gboolean ostree_get_xattrs_for_file (GFile *f,
GVariant **out_xattrs,
GCancellable *cancellable,
diff --git a/src/libostree/ostree-repo-private.h b/src/libostree/ostree-repo-private.h
index b382021d..e03656d6 100644
--- a/src/libostree/ostree-repo-private.h
+++ b/src/libostree/ostree-repo-private.h
@@ -66,10 +66,6 @@ _ostree_repo_get_uncompressed_object_cache_path (OstreeRepo *self,
const char *checksum);
GFile *
-_ostree_repo_get_archive_content_path (OstreeRepo *self,
- const char *checksum);
-
-GFile *
_ostree_repo_get_file_object_path (OstreeRepo *self,
const char *checksum);