IsPathVersioned(string)
Allows you to check whether the specified file is tracked by version control.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEditor.VersionControl
- Assembly: UnityEditor.CoreModule
public static bool IsPathVersioned(string path)
Parameters
Path to the file.
Returns
Type | Description |
|---|---|
| bool | 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.