HomeSort by relevance Sort by last modified time
    Searched refs:start_path (Results 1 - 2 of 2) sorted by null

  /external/webkit/Tools/Scripts/webkitpy/common/system/
ospath.py 35 def relpath(path, start_path, os_path_abspath=None, sep=None):
38 Returns None if the path is not contained in the directory start_path.
42 start_path: The path relative to which the given path should be
60 start_path = os_path_abspath(start_path)
63 if not path.lower().startswith(start_path.lower()):
64 # Then path is outside the directory given by start_path.
67 rel_path = path[len(start_path):]
80 # start_path = "/tmp/foo"
ospath_unittest.py 46 start_path = "WebKit"
48 path = os.path.join(start_path, expected_rel_path)
50 rel_path = self._rel_path(path, start_path)
55 start_path = "WebKit"
58 rel_path = self._rel_path(path, start_path)

Completed in 344 milliseconds