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
  56477cae_0f07_03e9_7681_f7d614264561["symlink()"]
  340ddba0_15e4_a309_9dea_cf6d6e73381d["scanner.rs"]
  56477cae_0f07_03e9_7681_f7d614264561 -->|defined in| 340ddba0_15e4_a309_9dea_cf6d6e73381d
  37949d89_3649_6c3e_a764_1db69e7caebe["test_glob_with_symlinks()"]
  37949d89_3649_6c3e_a764_1db69e7caebe -->|calls| 56477cae_0f07_03e9_7681_f7d614264561
  c2f6d2ff_72ee_e003_210f_08b6674cc80c["test_globs_with_recursive_symlinks()"]
  c2f6d2ff_72ee_e003_210f_08b6674cc80c -->|calls| 56477cae_0f07_03e9_7681_f7d614264561
  2c6a6b98_67be_e6b2_f7bb_58b8ccb8c1d2["test_partial_globs_with_symlinks()"]
  2c6a6b98_67be_e6b2_f7bb_58b8ccb8c1d2 -->|calls| 56477cae_0f07_03e9_7681_f7d614264561
  style 56477cae_0f07_03e9_7681_f7d614264561 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, defined in crates/oxide/tests/scanner.rs.
Where is symlink() defined?
symlink() is defined in crates/oxide/tests/scanner.rs at line 13.
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