(filepath, content)
| 166 | return rules |
| 167 | |
| 168 | def write_file(filepath, content): |
| 169 | os.makedirs(os.path.dirname(filepath), exist_ok=True) |
| 170 | with open(filepath, 'w', encoding='utf-8') as f: |
| 171 | f.write(content) |
| 172 | |
| 173 | def format_ip_cidr_rules(ip_rules): |
| 174 | rules = [] |
no outgoing calls
no test coverage detected