quilt
Search…
.quiltignore
.quiltignore is a special file which, when included in a directory, can be used to filter out files that are included when you call quilt3.Package.set_dir from inside that directory:
1
$ ls
2
foo.txt bar.txt baz.txt
3
$ python -c "import quilt3; print(quilt3.Package().set_dir('/', './'))"
4
(local Package)
5
└─foo.txt
6
└─bar.txt
7
└─baz.txt
8
$ echo foo.txt >> .quiltignore
9
$ ls -a
10
foo.txt bar.txt baz.txt
11
.quiltignore
12
$ python -c "import quilt3; print(quilt3.Package().set_dir('/', './'))"
13
(local Package)
14
└─bar.txt
15
└─baz.txt
16
└─.quiltignore
Copied!
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.
Last modified 1mo ago
Copy link