Simulated._Fs._Storage.RevertChanges C# (CSharp) Method

RevertChanges() private method

private RevertChanges ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
		public Task RevertChanges()
		{
			if (_disk.IsTrackingChanges)
			{
				var oldChanges = _disk;
				_disk = oldChanges.Next;
				return oldChanges.RevertAll();
			}
			return _StorageSink.CompletedTask;
		}