Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: recipe_modules/path/example.py

Issue 1777003003: recipe_engine: change resource API to use repo root (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: review Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « recipe_modules/path/api.py ('k') | recipe_modules/path/example.expected/linux.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/path/example.py
diff --git a/recipe_modules/path/example.py b/recipe_modules/path/example.py
index 338f5762c7fa3b41619ced47820e618ade8985ea..7e60ba89ef6793780696ef63d9356e9dc8f15472 100644
--- a/recipe_modules/path/example.py
+++ b/recipe_modules/path/example.py
@@ -20,9 +20,9 @@ def RunSteps(api):
api.step('print resource',
['echo', api.path.resource('dir', 'file.py')])
- # module.package_dir() demo.
+ # module.package_repo_resource() demo.
api.step('print package dir',
- ['echo', api.path.package_resource('dir', 'file.py')])
+ ['echo', api.path.package_repo_resource('dir', 'file.py')])
# Global dynamic paths (see config.py example for declaration):
dynamic_path = Path('[BORTS]', 'jerky')
« no previous file with comments | « recipe_modules/path/api.py ('k') | recipe_modules/path/example.expected/linux.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698