Index: dart/tools/utils.py |
diff --git a/dart/tools/utils.py b/dart/tools/utils.py |
index 3c90a5b05c9552d3183ccc2be55478413331aa13..bce6d2e0084600f6b9afe48d5d296aa1b07a97b9 100644 |
--- a/dart/tools/utils.py |
+++ b/dart/tools/utils.py |
@@ -270,6 +270,11 @@ def DiagnoseExitCode(exit_code, command): |
' '.join(command), exit_code, exit_code & 0xffffffff)) |
+def Touch(name): |
+ with file(name, 'a'): |
+ os.utime(name, None) |
+ |
+ |
if __name__ == "__main__": |
import sys |
Main(sys.argv) |