Rename is_member to is_local

This commit is contained in:
Jonas Schievink 2021-09-07 17:29:58 +02:00
parent 8a4c35a068
commit e241015a75
3 changed files with 18 additions and 18 deletions

View file

@ -294,7 +294,7 @@ impl GlobalState {
.workspaces
.iter()
.flat_map(|ws| ws.to_roots())
.filter(|it| it.is_member)
.filter(|it| it.is_local)
.flat_map(|root| {
root.include.into_iter().flat_map(|it| {
[
@ -514,12 +514,12 @@ impl ProjectFolders {
vfs::loader::Entry::Directories(dirs)
};
if root.is_member {
if root.is_local {
res.watch.push(res.load.len());
}
res.load.push(entry);
if root.is_member {
if root.is_local {
local_filesets.push(fsc.len());
}
fsc.add_file_set(file_set_roots)