Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ad-si/FastLint
/ functions
Functions
45 in github.com/ad-si/FastLint
⨍
Functions
45
◇
Types & classes
4
↓ 14 callers
Function
write
(dir: &Path, name: &str, body: &str)
tests/cli.rs:32
↓ 7 callers
Function
run
(args: &[&str])
tests/cli.rs:13
↓ 6 callers
Function
make_repo
()
tests/cli.rs:25
↓ 5 callers
Function
collect_files
Walk the given paths, returning every file that should be linted. Honors `.gitignore`, `.ignore`, and hidden-file rules of the `ignore` crate (matchin
src/walker.rs:9
↓ 4 callers
Function
check
Detect unresolved Git merge-conflict markers.
src/checks/conflict.rs:6
↓ 4 callers
Function
run
(text: &str)
src/checks/trailing_whitespace.rs:29
↓ 3 callers
Function
run
(text: &str)
src/checks/conflict.rs:37
↓ 1 callers
Function
byte_offset_to_line_col
Convert a 0-based byte offset to 1-based (line, column).
src/checks/typos_check.rs:51
↓ 1 callers
Function
check
Warn on trailing whitespace at the end of any line.
src/checks/trailing_whitespace.rs:6
↓ 1 callers
Function
check
Source-code spell-check using the `typos` crate. Reports candidate misspellings — false positives still happen (domain words, identifiers, vendored sn
src/checks/typos_check.rs:11
↓ 1 callers
Function
check_file
(path: &Path)
src/checks/mod.rs:29
↓ 1 callers
Function
is_binary_extension
(ext: &str)
src/walker.rs:77
↓ 1 callers
Function
print_human
(diagnostics: &[Diagnostic], color: bool)
src/output.rs:14
↓ 1 callers
Function
print_json
(diagnostics: &[Diagnostic])
src/output.rs:5
↓ 1 callers
Function
run
Run every check against every file, in parallel, and gather diagnostics.
src/checks/mod.rs:12
↓ 1 callers
Function
run
(text: &str)
src/checks/typos_check.rs:67
↓ 1 callers
Function
should_lint
Filter out binary, generated, or obviously-uninteresting paths.
src/walker.rs:50
Function
accepts_bare_markers_without_branch_name
()
src/checks/conflict.rs:61
Function
clean_directory_exits_zero
()
tests/cli.rs:37
Function
clean_file_is_clean
()
src/checks/conflict.rs:79
Function
clean_text_yields_no_typos
()
src/checks/typos_check.rs:107
Function
collect_includes_regular_files
()
src/walker.rs:115
Function
collect_respects_gitignore
()
src/walker.rs:127
Function
detects_all_three_marker_kinds
()
src/checks/conflict.rs:44
Function
detects_known_typo_with_suggestion
()
src/checks/typos_check.rs:93
Function
empty_line_is_not_flagged
()
src/checks/trailing_whitespace.rs:53
Function
flags_trailing_spaces
()
src/checks/trailing_whitespace.rs:36
Function
flags_trailing_tabs
()
src/checks/trailing_whitespace.rs:46
Function
ignores_similar_but_unrelated_lines
()
src/checks/conflict.rs:67
Function
json_for_clean_dir_is_empty_array
()
tests/cli.rs:89
Function
json_output_is_valid_array
()
tests/cli.rs:70
Method
label
(self)
src/diagnostic.rs:13
Function
line_col_after_newline
()
src/checks/typos_check.rs:79
Function
line_col_clamped_to_len
()
src/checks/typos_check.rs:87
Function
line_col_first_byte
()
src/checks/typos_check.rs:74
Function
main
()
src/main.rs:31
Function
merge_conflict_yields_error_exit
()
tests/cli.rs:46
Function
missing_path_errors
()
src/walker.rs:155
Function
nonexistent_path_exits_with_usage_error
()
tests/cli.rs:99
Function
paint
(text: &str, color: Color, enabled: bool)
src/output.rs:73
Function
respects_gitignore
()
tests/cli.rs:106
Function
single_file_path_is_returned_directly
()
src/walker.rs:146
Function
skips_lockfiles_and_binaries
()
src/walker.rs:105
Function
typos_emit_warnings_but_zero_exit
()
tests/cli.rs:60
Function
whitespace_only_line_is_flagged
()
src/checks/trailing_whitespace.rs:62