Skip to content

Commit 282b40c

Browse files
author
Luca
committed
added readme file
1 parent 3c8c189 commit 282b40c

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
test:
22
@unzip test/testRepo.zip -d test/
33
@./node_modules/.bin/mocha --ignore-leaks
4+
45
.PHONY: test

README.md

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# GitReader
2+
3+
Read and format git object from a git Repo
4+
5+
## How to use
6+
7+
var gitReader = require('gitReader')
8+
, repo = gitReader.init('.');
9+
10+
repo.getBranches(function (err, branches) { });
11+
repo.getObject(sha1, function (err, result) { });
12+
13+
## How to test
14+
15+
npm test
16+
17+
## License
18+
19+
(The MIT License)
20+
21+
Copyright (c) 2011 Luca Lanziani <[email protected]>
22+
23+
Permission is hereby granted, free of charge, to any person obtaining
24+
a copy of this software and associated documentation files (the
25+
'Software'), to deal in the Software without restriction, including
26+
without limitation the rights to use, copy, modify, merge, publish,
27+
distribute, sublicense, and/or sell copies of the Software, and to
28+
permit persons to whom the Software is furnished to do so, subject to
29+
the following conditions:
30+
31+
The above copyright notice and this permission notice shall be
32+
included in all copies or substantial portions of the Software.
33+
34+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
35+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
36+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
37+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
38+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
39+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE

index.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
var repo = require('./lib/repo.js');
2+
3+
module.exports.init = repo.init;

0 commit comments

Comments
 (0)