Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 950 Bytes

.quiltignore is a special file which, when included in a directory, can be used to filter out files that are included when you call t4.Package.set_dir from inside that directory:

$ ls
foo.txt         bar.txt         baz.txt
$ python -c "import t4; print(t4.Package().set_dir('/', './'))"
(local Package)
 └─foo.txt
 └─bar.txt
 └─baz.txt
$ echo foo.txt >> .quiltignore
$ ls -a
foo.txt         bar.txt         baz.txt
.quiltignore
$ python -c "import t4; print(t4.Package().set_dir('/', './'))"
(local Package)
 └─bar.txt
 └─baz.txt
 └─.quiltignore

This can be used to keep non-data files in the directory out of the data package. This is very useful when, for example, your data and your code live in the same directory.

The .quiltignore syntax is exactly the same as that of the familiar .gitignore. Refer to the git documentation for instructions on how to use it.

You can’t perform that action at this time.