mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-25 13:23:44 +00:00
refactor: rearrangement and document about tinymist-project (#1204)
* refactor: rearrangement and document about tinymist-project * refactor: more rearrangement and document about tinymist-project
This commit is contained in:
parent
8ca6c8118c
commit
ac25cc1365
23 changed files with 823 additions and 761 deletions
|
|
@ -471,8 +471,6 @@ impl<M: PathAccessModel + Sized> RevisingVfs<'_, M> {
|
|||
}
|
||||
|
||||
/// Reset the shadowing files in [`OverlayAccessModel`].
|
||||
///
|
||||
/// Note: This function is independent from [`Vfs::reset`].
|
||||
pub fn reset_shadow(&mut self) {
|
||||
for path in self.am().inner.inner.file_paths() {
|
||||
self.invalidate_path(&path);
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
use std::{fs::File, io::Read, path::Path};
|
||||
|
||||
use tinymist_std::ReadAllOnce;
|
||||
use typst::diag::{FileError, FileResult};
|
||||
|
||||
use crate::{Bytes, PathAccessModel};
|
||||
use tinymist_std::ReadAllOnce;
|
||||
|
||||
/// Provides SystemAccessModel that makes access to the local file system for
|
||||
/// system compilation.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue