# IsPathVersioned(string)

> Allows you to check whether the specified file is tracked by version control.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.VersionControl](/engine/6000.6/script-reference/unityeditor/versioncontrol.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static bool IsPathVersioned(string path)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): Path to the file.

### Returns

| Type                                                          | Description                                                         |
| ------------------------------------------------------------- | ------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | **true** if the file should be tracked by VCS. **false** otherwise. |

### Remarks

For example, files in your Assets folder are usually tracked, while files in your Library folder are not.
