This version of Unity is unsupported.

AssetList.Filter

public VersionControl.AssetList Filter(bool includeFolder, params States[] states);

Parameters

includeFolderWhether or not folders should be included.
statesWhich states to filter by.

Description

Based on the current list and the states a new list is returned which only contains the assets with the requested states.