edits use source-root API

This commit is contained in:
Aleksey Kladov 2018-12-21 12:18:14 +03:00
parent 0063f03e86
commit b5b44659a4
4 changed files with 28 additions and 16 deletions

View file

@ -173,12 +173,13 @@ pub struct SourceFileEdit {
#[derive(Debug)]
pub enum FileSystemEdit {
CreateFile {
anchor: FileId,
source_root: SourceRootId,
path: RelativePathBuf,
},
MoveFile {
file: FileId,
path: RelativePathBuf,
src: FileId,
dst_source_root: SourceRootId,
dst_path: RelativePathBuf,
},
}