A single child entry (file, directory, or submodule) returned by the browse endpoint.

interface BitbucketBrowseChild {
    path: BitbucketBrowsePath;
    size?: number;
    type: "FILE" | "DIRECTORY" | "SUBMODULE";
}

Properties

Properties

size?: number

Size in bytes — only present for FILE entries

type: "FILE" | "DIRECTORY" | "SUBMODULE"