summaryrefslogtreecommitdiffstats
path: root/README
blob: 5f9c69aa36af3f48a3aaf3c402b92c9b1eb44f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Git Library for Ruby
-----------------------------

Library for using Git in Ruby.

Right now I'm forking calls to the 'git' binary, 
but eventually I'll replace that with either C bindings
to libgit or libgit-thin, or I'll write pure ruby
handlers for at least some of the Git stuff.

See EXAMPLES file for, well, examples.



Git::Object
  - sha
  - type
  - cat_file
  - raw

Git::Commit
  - tree
  - parent 
  - author      # git author
  - author_date
  - committer   # git author
  - committer_date / date
  - message

Git::Tree
  - children
  - blobs/files
  - subtrees/subdirs

Git::Blob << File
  - size
  - permissions

Git::Tag

Git::Hash
  - abbrev/short

Git::Repository
  - heads
  - refs
  - branches

Git::WorkingDirectory 
  - foreach
  - glob # returns Git::Files

Git::File << File
  - log
  - tags