Skip to contents

Create a temporary file containing a copy of a file under git version control for a particular revision of that file.

Usage

cp_git_version(file, version_hash)

Arguments

file

Path to file.

version_hash

Git version hash.

Value

Temporary file path containing the copy.