aljachimiak / fur Goto Github PK
View Code? Open in Web Editor NEWAn experiment: recreating git with bash and ruby.
An experiment: recreating git with bash and ruby.
Only two commands can run outside of a fur directory without a ruby error:
$ fur
$ fur help
Any other command will throw a ruby error because .fur/
doesn't exist at the level of the run command.
Running any of these commands:
$ fur store
$ fur restore
$ fur forward
$ fur back
Should:
1 check for .fur
directory
2 if no .fur
directory return "This is not a fur project directory. Run fur init
to start a fur project here."
3 if there is a .fur
directory, carry on...
$ fur status
Perhaps a different error message?
Consider the following premise:
fur init
on a projectfur store
five times and your fur pointer is at 6fur back
three times to view an old version; your fur pointer is at 3fur store
to save your changes; your fur pointer is a 4This is where the problem lies
You have two more diffs in .fur/diffs/
called 4.f and 5.f that refer back to potentially non-existant lines, directories, or files.
At #5 in the situation above, fur store should do the following:
.fur/diffs
directory and rm
all i.f
files that are greater than the #{new fur pointer}.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.