OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 from recipe_engine import recipe_api | |
6 | |
7 class ShutilApi(recipe_api.RecipeApi): | |
martiniss
2016/04/07 17:35:22
I'm uncomfortable having this, when we have the fi
Paweł Hajdan Jr.
2016/04/07 20:39:04
With shutil module here, we can move build-indepen
martiniss
2016/04/07 21:34:02
If you're volunteering, please add a TODO :) I was
Paweł Hajdan Jr.
2016/04/08 07:46:15
Added TODO and I plan to address it soon. My recip
| |
8 def rmtree(self, path, **kwargs): | |
9 self.m.python.inline( | |
10 'rmtree %s' % path, | |
11 """ | |
12 import shutil, sys | |
13 shutil.rmtree(sys.argv[1]) | |
14 """, | |
15 args=[path], | |
16 **kwargs) | |
OLD | NEW |