cargo_util::paths

# Function exclude_from_content_indexing

Source

    fn exclude_from_content_indexing(path: &Path)

Expand description

Marks the directory as excluded from content indexing.

This is recommended to prevent the content of derived/temporary files from being indexed. This is very important for Windows users, as the live content indexing significantly slows cargo’s I/O operations.

This is currently a no-op on non-Windows platforms.