refactor(tvix/castore/import): make module, split off fs and error
Move error types and filesystem-specific functions to a separate file, and keep the fs:: namespace in public exports. Change-Id: I5e9e83ad78d9aea38553fafc293d3e4f8c31a8c1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11486 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com> Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
parent
c4cb099823
commit
e9db0449e7
7 changed files with 225 additions and 197 deletions
|
@ -18,7 +18,7 @@ use std::{
|
|||
use tokio_util::io::SyncIoBridge;
|
||||
use tracing::{error, instrument, warn, Level};
|
||||
use tvix_build::buildservice::BuildService;
|
||||
use tvix_castore::import::dir_entry_iter_to_ingestion_stream;
|
||||
use tvix_castore::import::fs::dir_entry_iter_to_ingestion_stream;
|
||||
use tvix_eval::{ErrorKind, EvalIO, FileType, StdIO};
|
||||
use tvix_store::utils::AsyncIoBridge;
|
||||
use walkdir::DirEntry;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue