Liking cljdoc? Tell your friends :D

eamonnsullivan.github-api-lib.files


get-fileclj

(get-file access-token owner repo branch filepath)

Get information and properties on a file in a repo, or nil if the file doesn't exist.

You can use "HEAD" if you want a file on the default branch, but you aren't sure of its name (e.g. "main" or "master").

Get information and properties on a file in a repo, or nil if the
file doesn't exist.

You can use "HEAD" if you want a file on the default branch, but
you aren't sure of its name (e.g. "main" or "master").
sourceraw docstring

get-first-fileclj

(get-first-file access-token owner repo branch files)

Get the first matching file in a repo. We try each of the files specified and return the first one that exists or nil if none of them do.

Get the first matching file in a repo. We try each of the files specified
and return the first one that exists or nil if none of them do.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close