scripts_get_javascript_git_commits {civis}R Documentation

Get file contents at commit_hash

Description

Get file contents at commit_hash

Usage

scripts_get_javascript_git_commits(id, commit_hash)

Arguments

id

integer required. The ID of the file.

commit_hash

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

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.


[Package civis version 3.0.0 Index]