-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.delta.toml
More file actions
83 lines (72 loc) · 1.99 KB
/
.delta.toml
File metadata and controls
83 lines (72 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# cargo-delta configuration file
# Patterns for files and folders to exclude from analysis.
file_exclude_patterns = [
".git*",
".markdownlint.json",
".vscode*",
"*.graphml",
"*.ico",
"*.j2",
"*.md",
"*.png",
"*.svg",
"LICENSE",
"target"
]
# Trip wire patterns - if any changed file matches these patterns,
# all crates in the workspace are going to be considered impacted.
trip_wire_patterns = [
".ado/*",
".cargo/*",
".delta.toml",
".editorconfig",
"*.just",
"Cargo.lock",
"Cargo.toml",
"clippy.toml",
"codecov.yml",
"constants.env",
"deny.toml",
"justfile",
"rust-toolchain.toml",
"rustfmt.toml",
"scripts/*",
"spellcheck.toml",
"unstable-rustfmt.toml"
]
[parser]
# Enable/disable file reference detection from method calls.
file_refs = true
# List of method names that indicate file loading operations.
# Common patterns: API calls that load files by path.
file_methods = [
"file", # ::file(path, ...)
"from_file", # ::from_file(path, ...)
"load", # ::load(path, ...)
"open", # ::open(path, ...)
"read", # ::read(path, ...)
"load_from" # ::load_from(path, ...)
]
# Enable/disable detection of include macros.
includes = true
# List of macro names that include files at compile time.
include_macros = [
"include_str", # include_str!("file.txt")
"include_bytes" # include_bytes!("file.bin")
]
# Enable/disable following mod declarations to discover module files.
mods = true
# List of custom macro names that declare modules.
mod_macros = []
# Enable/disable assume pattern matching for hard-to-detect dependencies.
assume = true
# List of glob patterns to match files and include them as dependencies.
assume_patterns = [
"*.rs",
"*.snap",
"*.stderr"
]
[git]
# The remote branch to compare against for determining changed files
# If not specified, uses the default branch detection
remote_branch = "origin/main"