MCPcopy
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_packagesMethod · 0.45
file_listMethod · 0.45
file_list_emptydirsMethod · 0.45
dir_listMethod · 0.45
_rootFunction · 0.45
_get_configured_reposFunction · 0.45
list_locksFunction · 0.45
clean_locksFunction · 0.45
list_productsFunction · 0.45
list_downloadedFunction · 0.45
list_downloadedFunction · 0.45
genrepoFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_fileroots_readFunction · 0.36
test_cache_masterFunction · 0.36
test_module_nameMethod · 0.36