|
PCART
v1.4
Automated Repair of Python API Parameter Compatibility Issues
|
Go to the source code of this file.
Namespaces | |
| codeUtils | |
| Provide utility functions for API strings, parameters and artifact file names. | |
Functions | |
| def | departAPI (s) |
| Split API call string based on parameter passing 根据参数传递拆分API调用字符串 More... | |
| def | departAPI2 (s, separator='.') |
| Split API call string based on separator "." 根据"."拆分API调用字符串 More... | |
| def | getArtifactDisplayName (artifactId) |
| Return readable artifact display name 返回可读运行产物展示名 More... | |
| def | getArtifactHash (artifactId) |
| Return artifact hash from an artifact id 从运行产物id中提取hash. More... | |
| def | getFileName (fileName, extension) |
| Normalize and sanitize file name 规范化并清理文件名 More... | |
| def | getLastAPIParameter (apiStr) |
| Get parameter(s) of the last API from the API call string 获取最后一个API参数 More... | |
| def | getParameter (p_string, separator=',', space=1) |
| Split parameter string into list of separated parameters 将参数字符串拆分成单个的参数 More... | |
| def | removeParameter (s, flag=0) |
| Remove parameter(s) from API call string 去掉API中的参数部分 More... | |
| def | shortenArtifactFileName (fileName, extension) |
| Shorten artifact file name while preserving full hash 缩短运行产物文件名并保留完整hash. More... | |
Variables | |
| ARTIFACT_HASH_PATTERN = re.compile(r'(?:^|__)([0-9a-f]{64})$') | |