Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/omkarcloud/botasaurus
/ relative_path
Function
relative_path
bota/src/bota/__main__.py:16–18 ·
view source on GitHub ↗
(path, goback=0)
Source
from the content-addressed store, hash-verified
14
pass
15
16
def
relative_path(path, goback=0):
17
levels = [
".."
] * (goback + -1)
18
return
os.path.abspath(os.path.join(os.getcwd(), *levels, path.strip()))
19
20
21
def
create_ip_name(cluster_name):
Callers
1
create_directory_if_not_exists
Function · 0.70
Calls
1
join
Method · 0.80
Tested by
no test coverage detected