Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

k0kubun/changelogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Changelogger

Log your local file changes

Usage

$ go get github.com/k0kubun/changelogger
$ cd PATH_TO_LOG
$ changelogger

Example

 $ cd ~/go/src/changelogger
 $ changelogger
 2014/04/29 09:28:23 Changed: /Users/k0kubun/go/src/changelogger/diff.go
- lines := strings.Split(text, "\n")
-       for _, line := range lines {

 2014/04/29 09:28:35 Changed: /Users/k0kubun/go/src/changelogger/diff.go
+       dmp := diffmatchpatch.New()
+       diffs := dmp.DiffMain(oldText, newText, true)

About

Local file change logger

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages