[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Irmin API newbie questions



>> One layer that would be very useful over this commit graph is some notion of
>> diffs.  I'd quite like to be able to describe a data structure in terms of
>> patches, since that's quite often the reason why I'm traversing the history
>> in the first place.  If I just want to go back in time, I can stash relevant
>> points in a tag and never need to walk the commit history.
> 
> Good idea, I'll try to see if I can add a diff on the graph edges (via a 
> user-provided function to compute diffs)

I've added a simple `Irmin.history` function to get the graph of commits: 
http://mirage.github.io/irmin/Irmin.html#VALhistory

There is no diff on the edges yet (see 
https://github.com/mirage/irmin/issues/151 which keeps track of that).

Thomas
_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.