Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for by_resource_name (0.08 sec)

  1. bin/diff_yaml.py

    
    def compare(args):
        j0 = normalize(list(yaml.safe_load_all(open(args.orig))), args)
        j1 = normalize(list(yaml.safe_load_all(open(args.new))), args)
    
        q0 = {by_resource_name(res): res for res in j0 if res is not None}
        q1 = {by_resource_name(res): res for res in j1 if res is not None}
    
        added, removed, common = keydiff(q0.keys(), q1.keys())
    
        changed = 0
        for k in sorted(common):
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 03 16:14:57 UTC 2021
    - 4.5K bytes
    - Viewed (0)
Back to top