Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NGSolve/ngsolve
/ get_git_version
Function
get_git_version
tests/utils.py:69–70 ·
view source on GitHub ↗
(cwd)
Source
from the content-addressed store, hash-verified
67
68
69
def
get_git_version(cwd):
70
return
check_output([
"git"
,
"describe"
,
"--tags"
], cwd=cwd).decode(
"utf-8"
).strip()
71
72
73
def
get_version(cwd):
Callers
2
get_version
Function · 0.85
main
Function · 0.85
Calls
1
strip
Method · 0.80
Tested by
no test coverage detected