private FileSystem([NotNull] _IFsDisk disk, bool shouldCreateTempFolder) { _Changes = new _Undo(); _Disk = disk; TempDirectory.Create(); }
/// <summary> /// Commits any pending changes and removes the save point. /// </summary> public void CommitChanges() { if (_Changes.IsTrackingChanges) { _Changes = new _Undo(); } }