Scanner — tailwindcss Architecture
Handles discovery of source files based on configuration and auto-detection rules.
Entity Profile
Dependency Diagram
graph TD subdomain_OxideEngine_Scanner["Scanner"] dc7647b3_89f1_fa5f_6bc9_ccda1054127b["throughput.rs"] subdomain_OxideEngine_Scanner --> dc7647b3_89f1_fa5f_6bc9_ccda1054127b 685d98f0_f223_dedf_cfba_bbdb2dc11d1d["source-map.test.ts"] subdomain_OxideEngine_Scanner --> 685d98f0_f223_dedf_cfba_bbdb2dc11d1d b3ca296d_790b_9bf3_23ea_56e5c5c48565["walk.rs"] subdomain_OxideEngine_Scanner --> b3ca296d_790b_9bf3_23ea_56e5c5c48565 94f6a4ae_3b1f_8e71_a096_1f7d17efc49a["source-map.ts"] subdomain_OxideEngine_Scanner --> 94f6a4ae_3b1f_8e71_a096_1f7d17efc49a 48bf53e3_51d1_ff10_48bb_0da6cdf73c69["candidate.test.ts"] subdomain_OxideEngine_Scanner --> 48bf53e3_51d1_ff10_48bb_0da6cdf73c69 cf14281b_29d9_c059_3148_2e2cc2fe19ae["run.ts"] subdomain_OxideEngine_Scanner --> cf14281b_29d9_c059_3148_2e2cc2fe19ae bb501946_7944_1015_b5ff_34d10aace799["at-import.ts"] subdomain_OxideEngine_Scanner --> bb501946_7944_1015_b5ff_34d10aace799 5a63fc5c_8a1d_dad2_626b_d01b587f0205["pathutil.rs"] subdomain_OxideEngine_Scanner --> 5a63fc5c_8a1d_dad2_626b_d01b587f0205 2ba1e6a3_0391_ac7e_04d2_d5d35ad686bb["sources.rs"] subdomain_OxideEngine_Scanner --> 2ba1e6a3_0391_ac7e_04d2_d5d35ad686bb 83f56732_94d8_aae2_694c_e38d0ec61bfd["translation-map.test.ts"] subdomain_OxideEngine_Scanner --> 83f56732_94d8_aae2_694c_e38d0ec61bfd 8980fa32_c788_e52e_6c93_c76030922f8e["index.test.ts"] subdomain_OxideEngine_Scanner --> 8980fa32_c788_e52e_6c93_c76030922f8e 1820de50_af91_8bd8_ec0b_dab0f2973c67["is-color.ts"] subdomain_OxideEngine_Scanner --> 1820de50_af91_8bd8_ec0b_dab0f2973c67 65419ae8_33ea_931a_d1ac_1549de232b64["intellisense.ts"] subdomain_OxideEngine_Scanner --> 65419ae8_33ea_931a_d1ac_1549de232b64 2da30441_61ea_3f5c_6b29_2eb3031af564["build.ts"] subdomain_OxideEngine_Scanner --> 2da30441_61ea_3f5c_6b29_2eb3031af564 style subdomain_OxideEngine_Scanner fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Domain
Functions
- App()
- Fn()
- FnMut()
- Home()
- T()
- WalkAction.Replace()
- absolute_parent()
- add()
- add()
- add()
- addWhitespaceAroundMathOperators()
- add_def()
- add_gitignore()
- add_ignore()
- add_line()
- advance_by()
- allow_directories()
- allow_unclosed_class()
- alpha()
- alphaReplacedShadowProperties()
- analyze()
- applyVariant()
- bareDegrees()
- barePercentages()
- blue()
- build()
- build()
- build()
- buildImportNodes()
- buildMediaQuery()
- build_with_cwd()
- builder()
- candidateValue()
- clone()
- compare()
- compare()
- compileCss()
- compoundsWith()
- constantFoldDeclaration()
- context()
- createBareQuad()
- createCompatConfig()
- createCompiler()
- createLineTable()
- createSourceMap()
- createTranslationMap()
- create_files_in()
- create_folders()
- create_gitignore()
- create_walker()
- current_dir()
- custom_ignore()
- custom_ignore()
- custom_ignore_precedence()
- deactivate_worker()
- deepMerge()
- default.accentColor()
- default.backdropContrast()
- default.backdropInvert()
- default.backdropSepia()
- default.borderColor()
- default.boxShadowColor()
- default.divideColor()
- default.fill()
- default.gradientColorStops()
- default.margin()
- default.minHeight()
- default.padding()
- default.ringColor()
- default.scrollMargin()
- default.size()
- default.stroke()
- default.textIndent()
- defaultSort()
- default_case_sensitive()
- dim()
- drop()
- empty()
- entry()
- error()
- errored_both()
- errored_partial_and_ignore()
- escapeUnderscore()
- eventuallyUnquote()
- exclude_lowest()
- excludes_file_default()
- expand_tilde()
- explicit_ignore()
- extract()
- extractUsedVariables()
- extract_candidates()
- extract_css_variables()
- fast_skip()
- file_name()
- file_type()
- findRoots()
- firstLine()
- flush()
- fmt()
- format()
- formatRange()
- formattedMappings()
- from()
- from()
- from_entry()
- from_entry_os()
- from_path()
- from_walkdir()
- functional()
- get()
- getClassList()
- getClassOrder()
- getVariants()
- get_candidates_with_positions()
- get_files()
- get_gitignore()
- get_globs()
- get_normalized_sources()
- get_work()
- gi_from_str()
- git_exclude()
- git_ignore()
- git_ignore()
- git_info_exclude_in_linked_worktree()
- gitconfig_home_contents()
- gitignore_allowed_no_git()
- gitignore_with_jj()
- global()
- globalThis()
- has()
- has()
- hasDefault()
- has_any_ignore_rules()
- has_doublestar_prefix()
- hidden()
- highlight()
- hit()
- hoist_static_glob_parts()
- id()
- ignore_case_insensitive()
- include_str()
- include_str()
- init_tracing()
- inner()
- ino()
- isColor()
- isIgnoredThemeKey()
- isPlainObject()
- isSequence()
- isVarCache()
- is_empty()
- is_hidden()
- is_ignore()
- is_io()
- is_symlink()
- is_whitelist()
- it_includes_skipped_by_default_extensions_with_a_specific_source()
- it_respects_gitignore_in_workspace_root()
- it_respects_gitignore_in_workspace_root_for_manual_globs()
- it_should_be_possible_to_scan_in_the_parent_directory()
- it_should_find_new_extensions()
- it_should_ignore_and_expand_nested_ignored_folders()
- it_should_ignore_binary_files()
- it_should_ignore_known_extensions()
- it_should_ignore_known_files()
- it_should_ignore_negated_custom_sources()
- it_should_include_defined_extensions_that_are_ignored_by_default()
- it_should_keep_globs_that_start_with_folder_wildcards_as_is()
- it_should_list_all_files_in_the_public_folder_explicitly()
- it_should_list_all_files_in_the_public_folder_explicitly_except_ignored_files()
- it_should_list_nested_folders_explicitly_in_the_public_folder()
- it_should_not_ignore_folders_that_end_with_a_binary_extension()
- it_should_pick_up_new_files()
- it_should_scan_absolute_paths()
- it_should_scan_content_paths()
- it_should_scan_content_paths_even_when_they_are_git_ignored()
- it_should_scan_files_without_extensions()
- it_should_scan_folders_with_extensions()
- it_should_scan_for_utilities()
- it_should_scan_next_dynamic_folders()
- it_should_use_a_glob_for_top_level_folders()
- it_should_work_with_a_set_of_root_files()
- it_should_work_with_a_set_of_root_files_and_ignore_ignored_files()
- it_should_work_with_manual_glob_only()
- iter()
- lastLine()
- legacyTheme()
- len()
- matched()
- matched_path_or_any_parents()
- matches()
- max_depth()
- maybe_push()
- mkdirp()
- mkdirp()
- move_to()
- name()
- namespace()
- negate()
- new()
- new()
- new_walkdir()
- next()
- not_present_empty()
- num_whitelists()
- observeSheet()
- only_ignores()
- only_on_files()
- optimize()
- or()
- original()
- ov()
- overrides()
- parents()
- parents()
- parseCandidate()
- parseCss()
- parseSourceMap()
- parse_all_blobs()
- parse_excludes_file2()
- parse_excludes_file4()
- path()
- path()
- path_equals()
- path_string()
- pkgToFilename()
- postcssPluginWarning()
- pre_process_input()
- prefixKey()
- printVariant()
- public_source_entries_to_private_source_entries()
- public_source_entry_from_pattern()
- push()
- quoteAttributeValue()
- read_all_files()
- read_changed_content()
- recursivelyDecodeArbitraryValues()
- registerLegacyUtilities()
- registerScreensConfig()
- regression_106()
- render()
- require_git()
- resolve()
- resolveApplyDependencies()
- resolveThemeColor()
- resolve_globs()
- retryAssertion()
- run()
- run()
- run()
- run()
- same_file_system()
- scan()
- scan()
- scan_content()
- scan_sources()
- scan_with_globs()
- segment()
- send()
- set()
- simpleDesign()
- simplifyArbitraryVariantCache()
- skip_entry()
- skip_filesize()
- skips_ignore_files_outside_of_a_repo()
- sort_by_dir_and_name()
- strip()
- stripTailwindComment()
- strip_if_is_prefix()
- suggest()
- symlink()
- symlinks()
- test_allow_default_ignored_files()
- test_allow_default_ignored_files_via_gitignore()
- test_allow_explicit_node_modules_paths()
- test_dirs_in_deep()
- test_explicitly_ignore_explicitly_allowed_files()
- test_extract_used_css_variables_from_css()
- test_files_in_deep()
- test_files_in_root()
- test_glob_with_symlinks()
- test_globs_with_recursive_symlinks()
- test_ignore_files_can_be_included_with_custom_source_rule()
- test_ignore_gitignore_in_node_modules_source()
- test_ignore_node_modules_without_gitignore()
- test_invalid_defs()
- test_manually_scanning_files_should_follow_all_rules()
- test_partial_globs_with_symlinks()
- test_positions()
- test_works_with_filenames_containing_glob_characters()
- test_works_with_utf8_special_character_paths()
- throwOnLoadModule()
- throwOnLoadStylesheet()
- tmpdir()
- tmpdir()
- toRawSourceMap()
- trim_prefix()
- types()
- unmatched()
- upgradeToFullPluginSupport()
- value()
- visit()
- walk_collect_parallel()
- wfile()
- withAlpha()
- withBOM()
- with_path()
- write()
Source Files
- playgrounds/vite/src/app.tsx
- packages/tailwindcss/src/at-import.ts
- crates/oxide/src/scanner/auto_source_detection.rs
- packages/@tailwindcss-standalone/scripts/build.ts
- packages/tailwindcss/src/candidate.test.ts
- packages/tailwindcss/src/utils/compare.ts
- packages/tailwindcss/src/constant-fold-declaration.ts
- packages/tailwindcss/src/compat/config/create-compat-config.ts
- packages/tailwindcss/src/compat/config/deep-merge.ts
- crates/oxide/src/scanner/detect_sources.rs
- crates/ignore/src/dir.rs
- crates/oxide/src/fast_skip.rs
- crates/ignore/tests/gitignore_matched_path_or_any_parents_tests.rs
- crates/oxide/src/glob.rs
- integrations/upgrade/index.test.ts
- integrations/vite/index.test.ts
- packages/@tailwindcss-standalone/src/index.ts
- packages/@tailwindcss-browser/src/index.ts
- packages/tailwindcss/src/intellisense.ts
- packages/tailwindcss/src/utils/is-color.ts
- packages/tailwindcss/src/compat/legacy-utilities.ts
- crates/ignore/src/lib.rs
- packages/tailwindcss/src/source-maps/line-table.ts
- crates/oxide/src/scanner/mod.rs
- crates/ignore/src/overrides.rs
- playgrounds/nextjs/app/page.tsx
- crates/ignore/src/pathutil.rs
- packages/tailwindcss/src/test-utils/run.ts
- crates/oxide/tests/scanner.rs
- packages/tailwindcss/src/compat/screens-config.ts
- packages/tailwindcss/src/utils/segment.ts
- packages/tailwindcss/src/sort.bench.ts
- packages/tailwindcss/src/sort.ts
- packages/tailwindcss/src/source-maps/source-map.test.ts
- packages/tailwindcss/src/source-maps/source-map.ts
- crates/oxide/src/scanner/sources.rs
- packages/tailwindcss/src/theme.ts
- crates/oxide/src/throughput.rs
- packages/tailwindcss/src/source-maps/translation-map.test.ts
- packages/tailwindcss/tests/ui.spec.ts
- packages/tailwindcss/src/utilities.ts
- packages/tailwindcss/src/utils/variables.ts
- crates/ignore/src/walk.rs
- packages/tailwindcss/src/walk.ts
Source
- playgrounds/vite/src/app.tsx
- packages/tailwindcss/src/at-import.ts
- crates/oxide/src/scanner/auto_source_detection.rs
- packages/@tailwindcss-standalone/scripts/build.ts
- packages/tailwindcss/src/candidate.test.ts
- packages/tailwindcss/src/utils/compare.ts
- packages/tailwindcss/src/constant-fold-declaration.ts
- packages/tailwindcss/src/compat/config/create-compat-config.ts
- packages/tailwindcss/src/compat/config/deep-merge.ts
- crates/oxide/src/scanner/detect_sources.rs
- crates/ignore/src/dir.rs
- crates/oxide/src/fast_skip.rs
- crates/ignore/tests/gitignore_matched_path_or_any_parents_tests.rs
- crates/oxide/src/glob.rs
- integrations/upgrade/index.test.ts
- integrations/vite/index.test.ts
- packages/@tailwindcss-standalone/src/index.ts
- packages/@tailwindcss-browser/src/index.ts
- packages/tailwindcss/src/intellisense.ts
- packages/tailwindcss/src/utils/is-color.ts
- packages/tailwindcss/src/compat/legacy-utilities.ts
- crates/ignore/src/lib.rs
- packages/tailwindcss/src/source-maps/line-table.ts
- crates/oxide/src/scanner/mod.rs
- crates/ignore/src/overrides.rs
- playgrounds/nextjs/app/page.tsx
- crates/ignore/src/pathutil.rs
- packages/tailwindcss/src/test-utils/run.ts
- crates/oxide/tests/scanner.rs
- packages/tailwindcss/src/compat/screens-config.ts
- packages/tailwindcss/src/utils/segment.ts
- packages/tailwindcss/src/sort.bench.ts
- packages/tailwindcss/src/sort.ts
- packages/tailwindcss/src/source-maps/source-map.test.ts
- packages/tailwindcss/src/source-maps/source-map.ts
- crates/oxide/src/scanner/sources.rs
- packages/tailwindcss/src/theme.ts
- crates/oxide/src/throughput.rs
- packages/tailwindcss/src/source-maps/translation-map.test.ts
- packages/tailwindcss/tests/ui.spec.ts
- packages/tailwindcss/src/utilities.ts
- packages/tailwindcss/src/utils/variables.ts
- crates/ignore/src/walk.rs
- packages/tailwindcss/src/walk.ts
Frequently Asked Questions
What is the Scanner subdomain?
Scanner is a subdomain in the tailwindcss codebase, part of the OxideEngine domain. Handles discovery of source files based on configuration and auto-detection rules. It contains 44 source files.
Which domain does Scanner belong to?
Scanner belongs to the OxideEngine domain.
What functions are in Scanner?
The Scanner subdomain contains 308 function(s): App, Fn, FnMut, Home, T, WalkAction.Replace, absolute_parent, add, and 300 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free