is_sha: Checks whether the supplied object is a valid SHA

Description Usage Arguments Value

View source: R/utilities.R

Description

A valid SHA is 40 characters long and only contains the characters 0-9 & a-f.

Usage

1
is_sha(x)

Arguments

x

Object to check

Value

TRUE if x is a valid SHA, FALSE otherwise


ChadGoymer/githapi documentation built on Oct. 22, 2021, 10:56 a.m.