class ChefCLI::Policyfile::GitLockFetcher
def show_file(version, file)
-
(String)
- Content of specified file for a given revision.
Parameters:
-
file
() -- Full path to file including filename in repository
-
version
() -- Git version as a tag, branch, or ref.
def show_file(version, file) git("show #{version}:#{file}", cwd: cache_path.to_s) end