Databricks SDK for JavaScript
    Preparing search index...

    Additional metadata about a directory.

    interface DirectoryInfo {
        isGitFolder?: boolean;
    }
    Index

    Properties

    Properties

    isGitFolder?: boolean

    Whether the directory is a Git folder, whose contents are version-controlled by a remote Git repository. How a Git folder is represented depends on whether it has Git CLI access:

    • A Git folder with Git CLI access has an object type of DIRECTORY, with this field set to true.
    • A standard Git folder, which does not have Git CLI access, has an object type of REPO and does not include this field.
    • A directory that is not Git-backed has this field set to false.

    Use this field together with object_type to identify every Git folder in a workspace.