Home / Function/ symlink() — tailwindcss Function Reference

symlink() — tailwindcss Function Reference

Architecture documentation for the symlink() function in scanner.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  d80dacbd_df64_6172_2bea_aa3884c9c15e["symlink()"]
  d9d8a10b_5803_fdce_f02e_68f780207b18["test_glob_with_symlinks()"]
  d9d8a10b_5803_fdce_f02e_68f780207b18 -->|calls| d80dacbd_df64_6172_2bea_aa3884c9c15e
  d9d09e09_3713_2ac9_20d7_609afd95d530["test_globs_with_recursive_symlinks()"]
  d9d09e09_3713_2ac9_20d7_609afd95d530 -->|calls| d80dacbd_df64_6172_2bea_aa3884c9c15e
  43082d51_6d83_3a5f_34fc_cee38bdbbc32["test_partial_globs_with_symlinks()"]
  43082d51_6d83_3a5f_34fc_cee38bdbbc32 -->|calls| d80dacbd_df64_6172_2bea_aa3884c9c15e
  style d80dacbd_df64_6172_2bea_aa3884c9c15e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/tests/scanner.rs lines 13–21

    fn symlink<P: AsRef<Path>, Q: AsRef<Path>>(original: P, link: Q) -> std::io::Result<()> {
        #[cfg(not(windows))]
        let result = std::os::unix::fs::symlink(original, link);

        #[cfg(windows)]
        let result = std::os::windows::fs::symlink_dir(original, link);

        result
    }

Domain

Subdomains

Frequently Asked Questions

What does symlink() do?
symlink() is a function in the tailwindcss codebase.
What calls symlink()?
symlink() is called by 3 function(s): test_glob_with_symlinks, test_globs_with_recursive_symlinks, test_partial_globs_with_symlinks.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free