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

Provided Methods§

Overrides file content. None value removes the override.

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

Updates the crate roots from a ProjectConfig object.

Implementors§