MCPcopy Create free account
hub / github.com/baidu/bigflow / to_abs_local_path

Function to_abs_local_path

bigflow_python/python/bigflow/util/path_util.py:104–125  ·  view source on GitHub ↗

Return the absolute path if input path is a local one, otherwise return input path Args: path (str): input path Returns: str: absolute path >>>to_abs_local_path("/tdk") "/tdk" >>>to_abs_local_path("./tdk") "/a/b/c/tdk" >>>to_abs_local_path("hdfs:///a

(path)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

is_hdfs_pathFunction · 0.85

Tested by

no test coverage detected