Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Struct

CopyDirectoryOptions

Public Struct
std.Build.Step.WriteFile.CopyDirectoryOptions
pub const CopyDirectoryOptions = struct

Fields

exclude_extensions: []const []const u8 = &.{}

File paths that end in any of these suffixes will be excluded from copying.

include_extensions: ?[]const []const u8 = null

Only file paths that end in any of these suffixes will be included in copying. null means that all suffixes will be included. exclude_extensions takes precedence over include_extensions.

File

Build/Step/WriteFile.zig:113
113
114
115
116
117
118
119
120
pub const CopyDirectoryOptions = struct {
    /// File paths that end in any of these suffixes will be excluded from copying.
    exclude_extensions: []const []const u8 = &.{},
    /// Only file paths that end in any of these suffixes will be included in copying.
    /// `null` means that all suffixes will be included.
    /// `exclude_extensions` takes precedence over `include_extensions`.
    include_extensions: ?[]const []const u8 = null,
}