Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/saltstack/salt
/ relpath
Method
relpath
salt/utils/gitfs.py:2152–2153 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
2150
return
ret
2151
2152
def
relpath(path):
2153
return
os.path.relpath(path, self.root(tgt_env))
2154
2155
else
:
2156
Callers
15
discover_packages
Method · 0.45
file_list
Method · 0.45
file_list_emptydirs
Method · 0.45
dir_list
Method · 0.45
_root
Function · 0.45
_get_configured_repos
Function · 0.45
list_locks
Function · 0.45
clean_locks
Function · 0.45
list_products
Function · 0.45
list_downloaded
Function · 0.45
list_downloaded
Function · 0.45
genrepo
Function · 0.45
Calls
no outgoing calls
Tested by
3
test_fileroots_read
Function · 0.36
test_cache_master
Function · 0.36
test_module_name
Method · 0.36