Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TreeEntry

import type { TreeEntry } from "https://googleapis.deno.dev/v1/securesourcemanager:v1.ts";

Represents an entry within a tree structure (like a Git tree).

interface TreeEntry {
readonly mode?: string;
readonly path?: string;
readonly sha?: string;
readonly size?: bigint;
readonly type?:
| "OBJECT_TYPE_UNSPECIFIED"
| "TREE"
| "BLOB"
| "COMMIT";
}

§Properties

§
readonly mode?: string
[src]

Output only. The file mode as a string (e.g., "100644"). Indicates file type. Output-only.

§
readonly path?: string
[src]

Output only. The path of the file or directory within the tree (e.g., "src/main/java/MyClass.java"). Output-only.

§
readonly sha?: string
[src]

Output only. The SHA-1 hash of the object (unique identifier). Output-only.

§
readonly size?: bigint
[src]

Output only. The size of the object in bytes (only for blobs). Output-only.

§
readonly type?: "OBJECT_TYPE_UNSPECIFIED" | "TREE" | "BLOB" | "COMMIT"
[src]

Output only. The type of the object (TREE, BLOB, COMMIT). Output-only.