Skip to contents

Replace patterns in a dockerignore object

Usage

di_replace(dockerignore, old_pattern, new_pattern)

Arguments

dockerignore

A dockerignore object

old_pattern

Pattern(s) to replace

new_pattern

New pattern(s)

Value

Updated dockerignore object