private bool EntryExists(string path, MockFileType type) { foreach (var file in _files) { if (file.Path == path && file.FileType == type) { return(true); } } return(false); }
public MockFile(string path, MockFileType fileType, byte[] data = null) { Path = path; FileType = fileType; Data = data; }