workflows_get_git_commits {civis}R Documentation

Get file contents at git ref

Description

Get file contents at git ref

Usage

workflows_get_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.1.2 Index]