Part of bzrlib
|Function||parse_ignore_file||Read in all of the lines in the file and turn it into an ignore list|
|Function||get_user_ignores||Get the list of user ignored files, possibly creating it.|
|Function||add_unique_user_ignores||Add entries to the user's ignore list if not present.|
|Function||add_runtime_ignores||Add some ignore patterns that only exists in memory.|
|Function||get_runtime_ignores||Get the current set of runtime ignores.|
|Function||tree_ignores_add_patterns||Add more ignore patterns to the ignore file in a tree.|
|Function||_set_user_ignores||Fill out the user ignore file with the given patterns|
Continue in the case of utf8 decoding errors, and emit a warning when such and error is found. Optimise for the common case -- no decoding errors.
This may raise an error if it doesn't have permission to write to the user ignore file. This is mostly used for testing, since it would be bad form to rewrite a user's ignore list. bzrlib only writes this file if it does not exist.
|Parameters||new_ignores||A list of ignore patterns|
|Returns||The list of ignores that were added|
This is used by some plugins that want bzr to ignore files, but don't want to change a users ignore list. (Such as a conversion script that needs to ignore temporary files, but does not want to modify the project's ignore list.)
|Parameters||ignores||A list or generator of ignore patterns.|
|Parameters||tree||Working tree to update the ignore list.|
|name_pattern_list||List of ignore patterns.|