add repo caching for non-chan

This commit is contained in:
2023-02-07 00:27:02 -08:00
parent f5f268dff7
commit c2d04ed3b0
6 changed files with 42 additions and 24 deletions

View File

@@ -4,7 +4,6 @@ import (
"flag"
"fmt"
"os"
"time"
"github.com/taigrr/gico/types"
"github.com/taigrr/gico/ui"
@@ -43,15 +42,6 @@ func NewDataSet() types.DataSet {
return make(types.DataSet)
}
func NewCommit(Author, Message, Repo, Path string, LOC int) types.Commit {
ci := types.Commit{
Message: Message,
Author: Author, LOC: LOC, TimeStamp: time.Now(),
Repo: Repo, Path: Path,
}
return ci
}
func loadRepo() {
}