pub trait FilesGroupEx: Upcast<dyn FilesGroup> + AsFilesGroupMut {
    // Provided methods
    fn override_file_content(
        &mut self,
        file: FileId,
        content: Option<Arc<String>>
    ) { ... }
    fn set_crate_root(&mut self, crt: CrateId, root: Option<Directory>) { ... }
}

Provided Methods§

source

fn override_file_content(&mut self, file: FileId, content: Option<Arc<String>>)

Overrides file content. None value removes the override.

source

fn set_crate_root(&mut self, crt: CrateId, root: Option<Directory>)

Sets the root directory of the crate. None value removes the crate.

Implementors§