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

CommitChanges() private method

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