Documentation
¶
Index ¶
Constants ¶
View Source
const ( FrameRate = 10 FFmpegPath = "ffmpeg" FFmpegPreset = "veryslow" MaxFrameCount = 1000 FrameFormat = "frame_%04d.png" )
Variables ¶
View Source
var ( Logger = log.NewWithOptions(os.Stderr, log.Options{}) LangExts = map[string]string{ "f90": "fortran", "f?": "fortran", "c": "c", "cpp": "cpp", "py": "python", "sh": "bash", "js": "javascript", "html": "html", "css": "css", "java": "java", "rs": "rust", "go": "go", "md": "markdown", } )
Functions ¶
func AnimateDiff ¶
func AnimateDiff(params *AnimateDiffParams) error
Types ¶
type AnimateDiffParams ¶
type AnimateParams ¶
type CommitFile ¶
type GitWrap ¶
type GitWrap interface { GetFiles() ([]*CommitFile, error) PopCommit() (string, error) CurrCommit() string }
type GitWrapper ¶
func NewGitWrapper ¶
func NewGitWrapper(repoPath, start, end string) (*GitWrapper, error)
func (*GitWrapper) CurrCommit ¶
func (g *GitWrapper) CurrCommit() string
func (*GitWrapper) GetFiles ¶
func (g *GitWrapper) GetFiles() ([]*CommitFile, error)
func (*GitWrapper) PopCommit ¶
func (g *GitWrapper) PopCommit() (string, error)
Click to show internal directories.
Click to hide internal directories.