tinymist_vfs::notify

Trait NotifyDeps

Source
pub trait NotifyDeps:
    Debug
    + Send
    + Sync {
    // Required method
    fn dependencies(&self, f: &mut dyn FnMut(&ImmutPath));
}
Expand description

A trait implementing dependency getter.

Required Methods§

Source

fn dependencies(&self, f: &mut dyn FnMut(&ImmutPath))

Gets the dependencies recorded in the world. It is a list of accessed file recorded during this revision, e.g. a single compilation or other compiler tasks.

Implementations on Foreign Types§

Source§

impl NotifyDeps for Vec<ImmutPath>

Source§

fn dependencies(&self, f: &mut dyn FnMut(&ImmutPath))

Implementors§