Learn R Programming

civis (version 3.0.0)

notebooks_get_git_commits: Get file contents at commit_hash

Description

Get file contents at commit_hash

Usage

notebooks_get_git_commits(id, commit_hash)

Value

A list containing the following elements:

content

string, The file's contents.

type

string, The file's type.

size

integer, The file's size.

fileHash

string, The SHA of the file.

Arguments

id

integer required. The ID of the file.

commit_hash

string required. The SHA (full or shortened) of the desired git commit.