Skip to content

Commit bcd5a9d

Browse files
committed
libutil: Drop unused SubdirSourceAccessor
1 parent f84b336 commit bcd5a9d

File tree

3 files changed

+0
-66
lines changed

3 files changed

+0
-66
lines changed

src/libutil/include/nix/util/source-accessor.hh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,4 @@ ref<SourceAccessor> makeFSSourceAccessor(std::filesystem::path root);
241241
*/
242242
ref<SourceAccessor> makeUnionSourceAccessor(std::vector<ref<SourceAccessor>> && accessors);
243243

244-
/**
245-
* Creates a new source accessor which is confined to the subdirectory
246-
* of the given source accessor.
247-
*/
248-
ref<SourceAccessor> projectSubdirSourceAccessor(ref<SourceAccessor>, CanonPath subdirectory);
249-
250244
} // namespace nix

src/libutil/meson.build

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ sources = [ config_priv_h ] + files(
156156
'source-accessor.cc',
157157
'source-path.cc',
158158
'strings.cc',
159-
'subdir-source-accessor.cc',
160159
'suggestions.cc',
161160
'tarfile.cc',
162161
'tee-logger.cc',

src/libutil/subdir-source-accessor.cc

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)