Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Naios/function2
/ get_version
Function
get_version
conanfile.py:6–11 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
4
from
conans
import
ConanFile, tools
5
6
def
get_version():
7
git = tools.Git()
8
try
:
9
return
git.run(
"describe --tags --abbrev=0"
)
10
except
:
11
return
None
12
13
class
Function2Conan(ConanFile):
14
name =
"function2"
Callers
1
Function2Conan
Class · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected