Skip to content
/ ev Public
forked from gbbr/ev

explore the evolution of a function

Notifications You must be signed in to change notification settings

tux-eithel/ev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ev

explore the evolution of a function, or file, in your browser.

fork

This is a forked version of this.

installation

go get -u github.com/tux-eithel/ev/cmd...

usage

usage: ev <funcname>:<file>

The command will open the browser showing snapshots of how the function funcname from file evolved in time throughout various git commits. I created it to better help me understand a codebase while trying to learn more about the implementation of Go's standard library. It can be used with any programming language.

Below is an example screenshot viewing the IndexAny function from Go's bytes package.

ev

See a demo of it, or try it out yourself!

The forked version of the command now support also the format

usage: ev <start_line>:<end_line>:<file>

Note that ev uses git log -L:<re>:<fn> syntax, meaning that it also comes with its limitations. More specifically, if the file has multiple functions sharing the same name (ie. both method and function) it will only refer to the first occurrence starting from the top of the file.

About

explore the evolution of a function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 49.4%
  • JavaScript 44.8%
  • CSS 5.8%