jwiegley / gitlib

180 stars 56 forks source link

Tutorial.hs seems out of date #81

Closed I3ck closed 5 years ago

I3ck commented 6 years ago

The tutorial within Tutorial.hs seems to be out of date.
I also couldn't find any snippets showing how to open a Repo from a given path.
This makes it really difficult to get started.

jwiegley commented 6 years ago

For now, look at git-monitor as an example of using the library. The most common way to open a repository is:

withRepository <factory> <path> $ do ...
camelpunch commented 5 years ago

FWIW I'm finding the tests a bit easier to read than git-monitor. Sample commits etc.

I3ck commented 5 years ago

:+1: