Lines Matching full:path
15 def update_license( path, dry_run, show_diff ):
18 path: path of the C++ source file to update.
19 dry_run: if True, just print the path of the file that would be updated,
21 show_diff: if True, print the path of the file that would be modified,
24 with open( path, 'rt' ) as fin:
35 with open( path, 'wb' ) as fout:
37 print 'Updated', path
50 dry_run: if True, just print the path of the file that would be updated,
52 show_diff: if True, print the path of the file that would be modified,
90 import os.path
91 sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))