Add new interface for creating new segments.
-rw-r--r-- 326 Makefile
-rw-r--r-- 2577 format.txt
-rw-r--r-- 5844 scandir.cc
-rw-r--r-- 10834 sha1.cc
-rw-r--r-- 3231 sha1.h
-rw-r--r-- 5936 store.cc
-rw-r--r-- 5285 store.h