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:
Myriad-Dreamin 2025-01-21 00:56:30 +08:00 committed by GitHub
parent 8ca6c8118c
commit ac25cc1365
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 823 additions and 761 deletions

View file

@ -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);

View file

@ -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.