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
  75f4fa23_9de1_85da_70ea_ccb8f56e6e13["symlink()"]
  e01208ed_2a25_8f8d_e05f_4de7d9e2f028["test_glob_with_symlinks()"]
  e01208ed_2a25_8f8d_e05f_4de7d9e2f028 -->|calls| 75f4fa23_9de1_85da_70ea_ccb8f56e6e13
  1236d2e2_9f4a_f330_5d1d_82167ae3b00f["test_globs_with_recursive_symlinks()"]
  1236d2e2_9f4a_f330_5d1d_82167ae3b00f -->|calls| 75f4fa23_9de1_85da_70ea_ccb8f56e6e13
  114ef02b_ee79_9c0e_c566_35fa34966c8a["test_partial_globs_with_symlinks()"]
  114ef02b_ee79_9c0e_c566_35fa34966c8a -->|calls| 75f4fa23_9de1_85da_70ea_ccb8f56e6e13
  style 75f4fa23_9de1_85da_70ea_ccb8f56e6e13 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