internal: a bit more of cwd safety for flycheck

This commit is contained in:
Aleksey Kladov 2021-07-17 17:40:13 +03:00
parent 8df38aa797
commit 8d8c26e6f5
16 changed files with 72 additions and 52 deletions

View file

@ -186,6 +186,9 @@ impl AbsPath {
pub fn starts_with(&self, base: &AbsPath) -> bool {
self.0.starts_with(&base.0)
}
pub fn ends_with(&self, suffix: &RelPath) -> bool {
self.0.starts_with(&suffix.0)
}
// region:delegate-methods