Skip to content

Chrislee187/GithubRepositoryModel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Github Repository Model

(snappier name needed)

Description

Wraps Github Api calls (via Octokit) into a simple to use object model.

Currently only supports reading Repositories and there contents.

The follows has the following basic structure;

  • Given a Github client.
  • Use the client to get a GhUser.
  • a GhUser has one more GhRepository's.
  • A GhRepository has one or more GhBranch's.
  • A GhBranch has a root GhFolder which contains further GhFolder's and GhFile's.

See the folder tests for a simple example.

Possible future features

  • Commits
  • Better handling of date information

About

Exposes a github repository as a simple object model, uses Octokit for the git api calls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages