README ¶ gitcache Utility that caches git data, useful for Dockerfile usage in Continuous Integration (CI) servers, where you might want to be able to fetch git content for a Docker image. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func FetchLatest(repo, branch, commit, tree, format, cacheDir string, outputDir string, ...) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func FetchLatest ¶ func FetchLatest(repo, branch, commit, tree, format, cacheDir string, outputDir string, ourOutput io.Writer) error If outputDir is "", write to w. Else write file to outpuDir, and name of file to w Types ¶ This section is empty. Source Files ¶ View all Source files common.go Directories ¶ Show internal Expand all Path Synopsis cmd gitcache command gitcachearchive command Click to show internal directories. Click to hide internal directories.