Skip to main content

Module ignore_file

Module ignore_file 

Source
Expand description

Shared ignore-file conventions for every subcommand.

Every disassemble action accepts an --ignore-path flag pointing at a .gitignore-style file. When the flag is omitted we look for DEFAULT_IGNORE_FILENAME in the directory disassembly is run from, falling back to the legacy .xmldisassemblerignore filename for the xml subcommand only (with a deprecation warning) so existing setups keep working.

Constants§

DEFAULT_IGNORE_FILENAME
Default ignore-file name used by every format. Can be overridden via the --ignore-path CLI flag.
LEGACY_XML_IGNORE_FILENAME
Legacy xml-disassembler ignore-file name. Kept as a fallback for the xml subcommand so users migrating from the standalone crate aren’t silently broken.

Functions§

resolve_xml_ignore_path
Resolve the ignore path for the xml subcommand.