GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ChimeraCoder/gitgo: A Go implementation of Git functions

BranchesTags
Open more actions menu

Latest commit

 

History

121 Commits
121 Commits

Folders and files

NameName
Last commit message
Last commit date
gitgo
gitgo
 
 
test_data
test_data
 
 
.appveyor.yml
.appveyor.yml
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README
README
 
 
README.md
README.md
 
 
cat-file.go
cat-file.go
 
 
cat-file_test.go
cat-file_test.go
 
 
delta.go
delta.go
 
 
delta_test.go
delta_test.go
 
 
log.go
log.go
 
 
log_test.go
log_test.go
 
 
object.go
object.go
 
 
object_test.go
object_test.go
 
 
pack.go
pack.go
 
 
packobjecttype_string.go
packobjecttype_string.go
 
 
repository.go
repository.go
 
 
scanner.go
scanner.go
 
 
setup_test.go
setup_test.go
 
 
verify-pack.go
verify-pack.go
 
 
verify-pack_test.go
verify-pack_test.go
 
 

Repository files navigation

gitgo

GoDoc Build Status

Gitgo provides Go functions for interacting with Git repositories.

Unlike libgit2, which is written in C, Gitgo is written in pure Go, and can be compiled and cross-compiled easily for all platforms supported by Go.

Installation

$ go get github.com/ChimeraCoder/gitgo

Usage

Full documentation is available on GoDoc.

Gitgo is a library intended to be used by other applications, rather than a replacement for the git command-line tools. However, gitgo does provide the gitgo binary, which is used for testing the gitgo library functions and demonstrating their functionality:

$ cd $GOPATH/src/github.com/ChimeraCoder/gitgo
$ gitgo log 1d833eb5b6c5369c0cb7a4a3e20ded237490145f
commit 1d833eb5b6c5369c0cb7a4a3e20ded237490145f
Author: aditya <[email protected]>
Date:   Mon Apr 6 15:49:15 2015 -0400

    Parse git object into struct and add corresponding test
    
commit a7f92c920ce85f07a33f948aa4fa2548b270024f
Author: aditya <[email protected]>
Date:   Fri Apr 3 12:38:24 2015 -0400

    Add CatFile function and corresponding test
    
commit 97eed02ebe122df8fdd853c1215d8775f3d9f1a1
Author: aditya <[email protected]>
Date:   Fri Apr 3 11:45:00 2015 -0400

    First commit. Create .gitignore

Note that the gitgo binary does not support all (or even most) of the functions provided by the gitgo library; it is intended for demonstration purposes and testing only.

About

A Go implementation of Git functions

Resources

Readme
License
Activity

Stars

348 stars

Watchers

12 watching

Forks

21 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.