Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AstroPrint/AstroBox
/ isDevVersion
Function
isDevVersion
src/octoprint/util/__init__.py:62–64 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
60
61
62
def
isDevVersion():
63
gitPath = os.path.abspath(os.path.join(os.path.split(os.path.abspath(__file__))[0],
"../../../.git"
))
64
return
os.path.exists(gitPath)
65
66
67
def
getExceptionString():
Callers
nothing calls this directly
Calls
1
join
Method · 0.80
Tested by
no test coverage detected