From b070eae35c1e7a4996b90208153d01f2be08d588 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Mon, 23 Aug 2021 21:12:55 +0200 Subject: try bsdiff and rework some of the API --- main.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index f70faa4..691ff25 100644 --- a/main.go +++ b/main.go @@ -14,7 +14,6 @@ func main() { source := os.Args[1] dest := os.Args[2] - - os.MkdirAll(dest, 0775) - Commit(source, dest) + repo := NewRepo(dest) + repo.Commit(source) } -- cgit v1.2.3