Add a cached fs abstraction (#141)

This commit is contained in:
Omar authored and GitHub committed 2025-08-14 15:21:05 +00:00
1 parent f2045db0e9
commit a59e287fa1
11 files changed
+230 -19

No files matched your search

+1
View File
@@ -714,6 +714,7 @@ async fn compile_contracts<P: Platform>(
// library.
compiler = FilesWithExtensionIterator::new(metadata.directory()?)
.with_allowed_extension("sol")
.with_use_cached_fs(true)
.fold(compiler, |compiler, path| {
compiler.with_library(&path, library_ident.as_str(), *library_address)
});