# GetDiff(long, IEnumerable<string>, Func<string, bool>)

> Returns the assets that changed since a point in time.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Search](/engine/6000.5/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public static AssetIndexChangeSet GetDiff(long timestamp, IEnumerable<string> deletedAssets, Func<string, bool> predicate)
```

### Parameters

**** (\[long]\(https\://learn.microsoft.com/dotnet/api/system.int64)): Timestamp to be compared.**** (\[IEnumerable\<string>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)): Any untracked deleted assets.**** (\[Func\<string, bool>]\(https\://learn.microsoft.com/dotnet/api/system.func-1)): Predicate used to filter the asset changeset.

### Returns

| Type                                                                                             | Description |
| ------------------------------------------------------------------------------------------------ | ----------- |
| [AssetIndexChangeSet](/engine/6000.5/script-reference/unityeditor/search/assetindexchangeset.md) | Changeset.  |
