|
| 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 |
0 commit comments