Search Results for

    Show / Hide Table of Contents

    Class VersionControl

    A collection of version control related helper utilities.

    Inheritance
    System.Object
    VersionControl
    Namespace: GDX.Editor
    Syntax
    public static class VersionControl

    Methods

    | Improve this Doc View Source

    CheckoutFolder(String)

    Synchronously checkout the contents of a folder if under source control known to Unity, and with it enabled.

    Declaration
    public static void CheckoutFolder(string folderPath)
    Parameters
    Type Name Description
    System.String folderPath

    The absolute path to the target folder.

    | Improve this Doc View Source

    GetAssetListFromFolder(String, String, SearchOption)

    Get an UnityEditor.VersionControl.AssetList from an absoluteDirectoryPath.

    Declaration
    public static AssetList GetAssetListFromFolder(string absoluteDirectoryPath, string searchPattern = "*.*", SearchOption searchOption = SearchOption.AllDirectories)
    Parameters
    Type Name Description
    System.String absoluteDirectoryPath

    A fully qualified path on disk to query.

    System.String searchPattern

    The search pattern to look for files with.

    System.IO.SearchOption searchOption

    What level of searching should be done.

    Returns
    Type Description
    UnityEditor.VersionControl.AssetList

    An UnityEditor.VersionControl.AssetList containing any valid assets under version control.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Built on 2024-01-01 against 1f69a68.
    Generated by Dox+DocFX.