Documentation ¶ Index ¶ func BaseDir() string type NullRepo func (NullRepo) BaseDir() string func (NullRepo) Commit(files ...string) error func (NullRepo) List() ([]*Rev, error) func (NullRepo) LoadRev(version string) (*Rev, error) type Repo func New() (Repo, error) type Rev func (r *Rev) DateString() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func BaseDir ¶ added in v0.1.1 func BaseDir() string Types ¶ type NullRepo ¶ added in v0.1.4 type NullRepo struct{} func (NullRepo) BaseDir ¶ added in v0.1.4 func (NullRepo) BaseDir() string func (NullRepo) Commit ¶ added in v0.1.4 func (NullRepo) Commit(files ...string) error func (NullRepo) List ¶ added in v0.1.4 func (NullRepo) List() ([]*Rev, error) func (NullRepo) LoadRev ¶ added in v0.1.4 func (NullRepo) LoadRev(version string) (*Rev, error) type Repo ¶ type Repo interface { Commit(files ...string) error List() ([]*Rev, error) LoadRev(version string) (*Rev, error) BaseDir() string } func New ¶ func New() (Repo, error) type Rev ¶ type Rev struct { Id string Date time.Time Infra *graph.Graph Access *graph.Graph } func (*Rev) DateString ¶ func (r *Rev) DateString() string Source Files ¶ View all Source files repo.go Click to show internal directories. Click to hide internal directories.