GitHubTreeEntry

@Serializable
data class GitHubTreeEntry(val path: String, val type: String, val size: Long? = null)

A single entry of a GitHubTree.

Parameters

path

path of the entry relative to the repository root

type

blob for files, tree for directories, commit for submodules

size

size in bytes, present for blobs only

Constructors

Link copied to clipboard
constructor(path: String, type: String, size: Long? = null)

Properties

Link copied to clipboard

Whether this entry is a regular file.

Link copied to clipboard
Link copied to clipboard
val size: Long?
Link copied to clipboard