VersionControlUtils.IsPathVersioned

Declaration

public static bool IsPathVersioned(string path);

Parameters

path Path to the file.

Returns

bool true if the file should be tracked by VCS. false otherwise.

Description

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

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


Did you find this page useful? Please give it a rating: