From 0da81343d7c64bb73fbe724041ff1d3b65f97068 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 18 Feb 2025 22:30:23 +0100 Subject: [PATCH] Move MountedSourceAccessor to libutil --- src/libfetchers/meson.build | 2 -- src/libutil/meson.build | 2 ++ src/{libfetchers => libutil}/mounted-source-accessor.cc | 0 src/{libfetchers => libutil}/mounted-source-accessor.hh | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename src/{libfetchers => libutil}/mounted-source-accessor.cc (100%) rename src/{libfetchers => libutil}/mounted-source-accessor.hh (100%) diff --git a/src/libfetchers/meson.build b/src/libfetchers/meson.build index fa5286ce9..725254b56 100644 --- a/src/libfetchers/meson.build +++ b/src/libfetchers/meson.build @@ -54,7 +54,6 @@ sources = files( 'github.cc', 'indirect.cc', 'mercurial.cc', - 'mounted-source-accessor.cc', 'path.cc', 'registry.cc', 'store-path-accessor.cc', @@ -72,7 +71,6 @@ headers = files( 'filtering-source-accessor.hh', 'git-lfs-fetch.hh', 'git-utils.hh', - 'mounted-source-accessor.hh', 'registry.hh', 'store-path-accessor.hh', 'tarball.hh', diff --git a/src/libutil/meson.build b/src/libutil/meson.build index 9ee3770de..6ce57c735 100644 --- a/src/libutil/meson.build +++ b/src/libutil/meson.build @@ -153,6 +153,7 @@ sources = files( 'json-utils.cc', 'logging.cc', 'memory-source-accessor.cc', + 'mounted-source-accessor.cc', 'position.cc', 'posix-source-accessor.cc', 'references.cc', @@ -220,6 +221,7 @@ headers = [config_h] + files( 'logging.hh', 'lru-cache.hh', 'memory-source-accessor.hh', + 'mounted-source-accessor.hh', 'muxable-pipe.hh', 'os-string.hh', 'pool.hh', diff --git a/src/libfetchers/mounted-source-accessor.cc b/src/libutil/mounted-source-accessor.cc similarity index 100% rename from src/libfetchers/mounted-source-accessor.cc rename to src/libutil/mounted-source-accessor.cc diff --git a/src/libfetchers/mounted-source-accessor.hh b/src/libutil/mounted-source-accessor.hh similarity index 100% rename from src/libfetchers/mounted-source-accessor.hh rename to src/libutil/mounted-source-accessor.hh