| Index: README.recipes.md
|
| diff --git a/README.recipes.md b/README.recipes.md
|
| index 984e8975f9d1c3d3bede92627fe342175a57147f..882eee4b11e438fd2042536eadbe2857f22d508b 100644
|
| --- a/README.recipes.md
|
| +++ b/README.recipes.md
|
| @@ -507,14 +507,14 @@ There are other anchor points which can be defined (e.g. by the
|
| `depot_tools/infra_paths` module). Refer to those modules for additional
|
| documentation.
|
|
|
| -#### **class [PathApi](/recipe_modules/path/api.py#L196)([RecipeApi](/recipe_engine/recipe_api.py#L884)):**
|
| +#### **class [PathApi](/recipe_modules/path/api.py#L197)([RecipeApi](/recipe_engine/recipe_api.py#L884)):**
|
|
|
| -— **def [\_\_getitem\_\_](/recipe_modules/path/api.py#L421)(self, name):**
|
| +— **def [\_\_getitem\_\_](/recipe_modules/path/api.py#L422)(self, name):**
|
|
|
| Gets the base path named `name`. See module docstring for more
|
| information.
|
|
|
| -— **def [abs\_to\_path](/recipe_modules/path/api.py#L351)(self, abs_string_path):**
|
| +— **def [abs\_to\_path](/recipe_modules/path/api.py#L352)(self, abs_string_path):**
|
|
|
| Converts an absolute path string `string_path` to a real Path object,
|
| using the most appropriate known base path.
|
| @@ -540,39 +540,39 @@ api.path.abs_to_path("/basis/dir/for/recipe/some/other/dir") ->
|
| Raises an ValueError if the preconditions are not met, otherwise returns the
|
| Path object.
|
|
|
| -— **def [assert\_absolute](/recipe_modules/path/api.py#L326)(self, path):**
|
| +— **def [assert\_absolute](/recipe_modules/path/api.py#L327)(self, path):**
|
|
|
| Raises AssertionError if the given path is not an absolute path.
|
|
|
| Args:
|
| * path (Path|str) - The path to check.
|
|
|
| -— **def [get](/recipe_modules/path/api.py#L414)(self, name, default=None):**
|
| +— **def [get](/recipe_modules/path/api.py#L415)(self, name, default=None):**
|
|
|
| Gets the base path named `name`. See module docstring for more
|
| information.
|
|
|
| -— **def [get\_config\_defaults](/recipe_modules/path/api.py#L208)(self):**
|
| +— **def [get\_config\_defaults](/recipe_modules/path/api.py#L209)(self):**
|
|
|
| Internal recipe implementation function.
|
|
|
| -— **def [initialize](/recipe_modules/path/api.py#L270)(self):**
|
| +— **def [initialize](/recipe_modules/path/api.py#L271)(self):**
|
|
|
| Internal recipe implementation function.
|
|
|
| -— **def [mkdtemp](/recipe_modules/path/api.py#L334)(self, prefix):**
|
| +— **def [mkdtemp](/recipe_modules/path/api.py#L335)(self, prefix):**
|
|
|
| Makes a new temporary directory, returns Path to it.
|
|
|
| -— **def [mock\_add\_paths](/recipe_modules/path/api.py#L305)(self, path):**
|
| +— **def [mock\_add\_paths](/recipe_modules/path/api.py#L306)(self, path):**
|
|
|
| For testing purposes, mark that |path| exists.
|
|
|
| -— **def [mock\_copy\_paths](/recipe_modules/path/api.py#L310)(self, source, dest):**
|
| +— **def [mock\_copy\_paths](/recipe_modules/path/api.py#L311)(self, source, dest):**
|
|
|
| For testing purposes, copy |source| to |dest|.
|
|
|
| -— **def [mock\_remove\_paths](/recipe_modules/path/api.py#L315)(self, path, filt=(lambda p: True)):**
|
| +— **def [mock\_remove\_paths](/recipe_modules/path/api.py#L316)(self, path, filt=(lambda p: True)):**
|
|
|
| For testing purposes, assert that |path| doesn't exist.
|
|
|
|
|