MCPcopy Create free account
hub / github.com/boostorg/build / pwd

Function pwd

v2/util/path.py:61–66  ·  view source on GitHub ↗

Returns the current working directory. # TODO: is it a good idea to use the current dir? Some use-cases may not allow us to depend on the current dir.

()

Source from the content-addressed store, hash-verified

59
60
61def pwd ():
62 """ Returns the current working directory.
63 # TODO: is it a good idea to use the current dir? Some use-cases
64 may not allow us to depend on the current dir.
65 """
66 return make (os.getcwd ())
67
68def is_rooted (path):
69 """ Tests if a path is rooted.

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected