Displays the contents of a dockerignore object in a readable format, showing each pattern on a new line as it would appear in an actual .dockerignore file.
Usage
# S3 method for class 'dockerignore'
print(x, ...)See also
dockerignore() for creating a dockerignore object &
write_dockerignore() for writing to a .dockerignore file
Other dockerignore core functions:
c.dockerignore(),
check_dockerignore(),
dockerignore(),
is_dockerignore()
Examples
di <- dockerignore() |>
di_add(c(".git/", "*.log", "node_modules/"))
print(di)
#> .git/
#> *.log
#> node_modules/