Skip to content

Instantly share code, notes, and snippets.

View spurton's full-sized avatar

Scott Burton spurton

View GitHub Profile
@domgetter
domgetter / git_objects.rb
Last active February 17, 2019 14:14 — forked from anonymous/git_blob.rb
An implementation of different objects in the object store of Git
require 'digest/sha1'
require 'zlib'
require 'pp'
module Git
OBJECTS = {}
class Object