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