[ostree] core: Delete unused OstreeRepoFile API



commit a071a3ec3ac2d02db639e19fa384c28822928652
Author: Colin Walters <walters verbum org>
Date:   Sun Sep 8 16:49:21 2013 -0400

    core: Delete unused OstreeRepoFile API
    
    Was just unused, and it was using further API i want to remove.

 src/libostree/ostree-repo-file.c |   11 -----------
 src/libostree/ostree-repo-file.h |    2 --
 2 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/libostree/ostree-repo-file.c b/src/libostree/ostree-repo-file.c
index 994d554..048c2bc 100644
--- a/src/libostree/ostree-repo-file.c
+++ b/src/libostree/ostree-repo-file.c
@@ -369,17 +369,6 @@ ostree_repo_file_tree_get_metadata_checksum (OstreeRepoFile  *self)
 }
 
 /**
- * ostree_repo_file_nontree_get_local:
- *
- * Returns: (transfer full): The real loose #GFile backing this object
- */
-GFile *
-ostree_repo_file_nontree_get_local (OstreeRepoFile  *self)
-{
-  return _ostree_repo_get_file_object_path (self->repo, ostree_repo_file_get_checksum (self));
-}
-
-/**
  * ostree_repo_file_get_repo:
  * @self:
  *
diff --git a/src/libostree/ostree-repo-file.h b/src/libostree/ostree-repo-file.h
index f554be1..dc8c0bd 100644
--- a/src/libostree/ostree-repo-file.h
+++ b/src/libostree/ostree-repo-file.h
@@ -74,8 +74,6 @@ const char * ostree_repo_file_get_checksum (OstreeRepoFile  *self);
 
 const char * ostree_repo_file_get_commit (OstreeRepoFile  *self);
 
-GFile *ostree_repo_file_nontree_get_local (OstreeRepoFile  *self);
-
 int     ostree_repo_file_tree_find_child  (OstreeRepoFile  *self,
                                             const char      *name,
                                             gboolean        *is_dir,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]