Português (Portuguese)
Appearance
Português (Portuguese)
Appearance
STRUCT
Headers Contents
umbrellaHeaderpublicprivateprojectexclusionRuleheaders(public:private:project:exclusionRule:)allHeaders(from:umbrella:private:)onlyHeaders(from:umbrella:private:)public struct Headers: Codable, Equatable, SendableA group of public, private and project headers.
umbrellaHeader public var umbrellaHeader: Path?Path to an umbrella header, which will be used to get list of public headers.
public public var `public`: FileList?Relative glob pattern that points to the public headers.
private public var `private`: FileList?Relative glob pattern that points to the private headers.
project public var project: FileList?Relative glob pattern that points to the project headers.
exclusionRule public var exclusionRule: AutomaticExclusionRuleRule, which determines how to resolve found duplicates in public/private/project scopes
headers(public:private:project:exclusionRule:) public static func headers(
public: FileList? = nil,
private: FileList? = nil,
project: FileList? = nil,
exclusionRule: AutomaticExclusionRule = .projectExcludesPrivateAndPublic
) -> HeadersallHeaders(from:umbrella:private:) public static func allHeaders(
from list: FileList,
umbrella: Path,
private privateHeaders: FileList? = nil
) -> HeadersHeaders from the file list are included as:
public, if the header is present in the umbrella headerprivate, if the header is present in the private listproject, otherwisepublic and project headersprivate headers| Name | Description |
|---|---|
| from | File list, which contains public and project headers |
| umbrella | File path to the umbrella header |
| private | File list, which contains private headers |
onlyHeaders(from:umbrella:private:) public static func onlyHeaders(
from list: FileList,
umbrella: Path,
private privateHeaders: FileList? = nil
) -> HeadersHeaders from the file list are included as:
public, if the header is present in the umbrella headerprivate, if the header is present in the private listpublic and project headersprivate headers| Name | Description |
|---|---|
| from | File list, which contains public and project headers |
| umbrella | File path to the umbrella header |
| private | File list, which contains private headers |