# HG changeset patch # User Raphaël Gomès # Date 1729171358 -7200 # Node ID 46c68c0fe137ad05dd86035f86e4ff2aa5c28f9d # Parent 039b7caeb4d9129734941e5bd17797b3a17f8c99 rust-vfs: add a TODO to remember a decision taken about naming Explanations inline. diff -r 039b7caeb4d9 -r 46c68c0fe137 rust/hg-core/src/vfs.rs --- a/rust/hg-core/src/vfs.rs Wed Sep 25 18:24:15 2024 +0200 +++ b/rust/hg-core/src/vfs.rs Thu Oct 17 15:22:38 2024 +0200 @@ -260,6 +260,7 @@ /// Abstracts over the VFS to allow for different implementations of the /// filesystem layer (like passing one from Python). pub trait Vfs: Sync + Send + DynClone { + // TODO make `open` readonly and make `open_read` an `open_write` fn open(&self, filename: &Path) -> Result; fn open_read(&self, filename: &Path) -> Result; fn open_check_ambig(