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

Unified Diff: recipe_modules/file/examples/copytree.py

Issue 2993713003: Add file.filesizes to recipe engine core modules. (Closed)
Patch Set: -kwargs. Created 3 years, 4 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/file/example.disable ('k') | recipe_modules/file/examples/copytree.expected/basic.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/file/examples/copytree.py
diff --git a/recipe_modules/file/examples/copytree.py b/recipe_modules/file/examples/copytree.py
index ead18abb719823970d2176efd72bbbac964ce1ed..0b3ac90ee12bfb817e4b6df1c8d9f953e7bc236e 100644
--- a/recipe_modules/file/examples/copytree.py
+++ b/recipe_modules/file/examples/copytree.py
@@ -15,6 +15,7 @@ def RunSteps(api):
api.file.ensure_directory('ensure "some dir"', dest)
for fname in file_names:
api.file.write_text('write %s' % fname, dest.join(fname), fname)
+ api.file.filesizes('check filesizes', map(dest.join, file_names))
dest2 = api.path['start_dir'].join('some other dir')
api.file.rmtree('make sure dest is gone', dest2)
« no previous file with comments | « recipe_modules/file/example.disable ('k') | recipe_modules/file/examples/copytree.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698