git-repo-hash
title: Getting Git repository hash
functions:
downloadGitRepo: './git.md'
Getting Git repository hash
This tutorial is part of package functions documentation in Iconify Tools.
Function [func]getGitRepoHash() retrieves last commit hash from local Git repository.
It is used by [func]downloadGitRepo().
Usage
Function has the following parameter:
[prop]options,[type]DownloadGitRepoOptions. Options, same as in[prop]downloadGitRepo()function (only[prop]targetproperty is used).
Function returns last commit hash as [type]string.
Function is asynchronous.
这篇文档对你有帮助吗?
谢谢你的反馈!