Skip to content

Add skip param on FileItem #19

@httpdss

Description

@httpdss

FileItem can now skip all files or process all files through the backup strategy.
i want to be able to set a skip: true flag on the file item structure definition so that individual files can be skipped

example:

structure:
  - README.md:
      skip: true
      content: |
        # AAA
        This is a template repository.
  - script.sh:
      permissions: '0777'
      content: |
        #!/bin/bash
        echo "Hello, WWW!"

in this example README.md would be skipped and script.sh would be processed

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions