|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Functions | |
| def | update_license (path, dry_run, show_diff) |
| def | update_license_in_source_directories (source_dirs, dry_run, show_diff) |
| def | main () |
Variables | |
| string | LICENSE_BEGIN = "// Copyright " |
| string | BRIEF_LICENSE |
Updates the license text in source file.
| def devtools.licenseupdater.main | ( | void | ) |
| def devtools.licenseupdater.update_license | ( | path, | |
| dry_run, | |||
| show_diff | |||
| ) |
Update the license statement in the specified file.
Parameters:
path: path of the C++ source file to update.
dry_run: if True, just print the path of the file that would be updated,
but don't change it.
show_diff: if True, print the path of the file that would be modified,
as well as the change made to the file.
| def devtools.licenseupdater.update_license_in_source_directories | ( | source_dirs, | |
| dry_run, | |||
| show_diff | |||
| ) |
Updates license text in C++ source files found in directory source_dirs.
Parameters:
source_dirs: list of directory to scan for C++ sources. Directories are
scanned recursively.
dry_run: if True, just print the path of the file that would be updated,
but don't change it.
show_diff: if True, print the path of the file that would be modified,
as well as the change made to the file.
| string devtools.licenseupdater.BRIEF_LICENSE |
| string devtools.licenseupdater.LICENSE_BEGIN = "// Copyright " |
1.8.13