diff --git a/src/libostree/ostree-repo-private.h b/src/libostree/ostree-repo-private.h index e893c4f8..cce24f55 100644 --- a/src/libostree/ostree-repo-private.h +++ b/src/libostree/ostree-repo-private.h @@ -45,7 +45,6 @@ struct OstreeRepo { GFile *deltas_dir; GFile *uncompressed_objects_dir; int uncompressed_objects_dir_fd; - GFile *remote_cache_dir; GFile *config_file; GFile *transaction_lock_path; diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index 948d08d8..2ae893f1 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -104,7 +104,6 @@ ostree_repo_finalize (GObject *object) g_clear_object (&self->uncompressed_objects_dir); if (self->uncompressed_objects_dir_fd != -1) (void) close (self->uncompressed_objects_dir_fd); - g_clear_object (&self->remote_cache_dir); g_clear_object (&self->config_file); g_clear_object (&self->transaction_lock_path); @@ -179,7 +178,6 @@ ostree_repo_constructed (GObject *object) self->deltas_dir = g_file_get_child (self->repodir, "deltas"); self->uncompressed_objects_dir = g_file_get_child (self->repodir, "uncompressed-objects-cache"); self->state_dir = g_file_get_child (self->repodir, "state"); - self->remote_cache_dir = g_file_get_child (self->repodir, "remote-cache"); self->config_file = g_file_get_child (self->repodir, "config"); G_OBJECT_CLASS (ostree_repo_parent_class)->constructed (object); @@ -649,9 +647,6 @@ ostree_repo_create (OstreeRepo *self, if (!g_file_make_directory (self->tmp_dir, cancellable, error)) goto out; - if (!g_file_make_directory (self->remote_cache_dir, cancellable, error)) - goto out; - g_clear_object (&child); child = g_file_get_child (self->repodir, "refs"); if (!g_file_make_directory (child, cancellable, error))