github.com/google/osv-scalibr@v0.4.1/testdata/populatelayers.yml (about)

     1  layers:
     2    # Add foo.txt lockfile
     3    - files:
     4        foo.txt:
     5          # With the package foo
     6          - foo
     7        bar.txt:
     8          - bar
     9    # Delete the bar lockfile
    10    - files:
    11        ~bar.txt:
    12    - files:
    13        baz.txt:
    14          - baz
    15        # Readd bar
    16    - files:
    17        bar.txt:
    18          - bar
    19    # Edit the same file in place
    20    - files:
    21        foo.txt:
    22          - foo
    23          - foo2