Home / Function/ symlink() — tailwindcss Function Reference

symlink() — tailwindcss Function Reference

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

Function rust Oxide Scanner called by 3

Entity Profile

Dependency Diagram

graph TD
  50b40a21_f781_d5c3_8e77_48a27b4e0bec["symlink()"]
  6b48c515_a72f_7a7d_7ea7_b80f71a82b19["scanner.rs"]
  50b40a21_f781_d5c3_8e77_48a27b4e0bec -->|defined in| 6b48c515_a72f_7a7d_7ea7_b80f71a82b19
  fb70307b_4921_e3a6_49c7_f8ad82fe1dd4["test_glob_with_symlinks()"]
  fb70307b_4921_e3a6_49c7_f8ad82fe1dd4 -->|calls| 50b40a21_f781_d5c3_8e77_48a27b4e0bec
  2af96f21_864c_c0e1_f552_c947f2a3070c["test_globs_with_recursive_symlinks()"]
  2af96f21_864c_c0e1_f552_c947f2a3070c -->|calls| 50b40a21_f781_d5c3_8e77_48a27b4e0bec
  284e7305_af06_3228_3c69_14e6766d21c8["test_partial_globs_with_symlinks()"]
  284e7305_af06_3228_3c69_14e6766d21c8 -->|calls| 50b40a21_f781_d5c3_8e77_48a27b4e0bec
  style 50b40a21_f781_d5c3_8e77_48a27b4e0bec 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