Lines Matching refs:FileConfig
48 use fusefs::{FileConfig, Inode};
208 fn new_config_remote_verified_file(remote_id: i32, file_size: u64) -> Result<FileConfig> { in new_config_remote_verified_file() argument
214 Ok(FileConfig::RemoteVerifiedReadonlyFile { in new_config_remote_verified_file()
226 fn new_config_remote_unverified_file(remote_id: i32, file_size: u64) -> Result<FileConfig> { in new_config_remote_unverified_file() argument
228 Ok(FileConfig::RemoteUnverifiedReadonlyFile { reader, file_size }) in new_config_remote_unverified_file()
235 ) -> Result<FileConfig> { in new_config_local_ro_file() argument
245 Ok(FileConfig::LocalVerifiedReadonlyFile { reader, file_size }) in new_config_local_ro_file()
248 fn new_config_local_ro_file_unverified(file_path: &Path) -> Result<FileConfig> { in new_config_local_ro_file_unverified() argument
251 Ok(FileConfig::LocalUnverifiedReadonlyFile { reader, file_size }) in new_config_local_ro_file_unverified()
254 fn new_config_remote_new_verified_file(remote_id: i32) -> Result<FileConfig> { in new_config_remote_new_verified_file() argument
257 Ok(FileConfig::RemoteVerifiedNewFile { editor: VerifiedFileEditor::new(remote_file) }) in new_config_remote_new_verified_file()
260 fn prepare_file_pool(args: &Args) -> Result<BTreeMap<Inode, FileConfig>> { in prepare_file_pool() argument