import WorkspaceConfiguration .product(name: "WorkspaceConfiguration", package: "Workspace")
Instance Property

copyrightNotice

The copyright notice.

Declaration

var copyrightNotice: Lazy<[LocalizationIdentifier: StrictString]> { get set }

Discussion

By default, this is assembled from the other documentation and licence options.

Workspace will replace the dynamic element #dates with the file’s copyright dates. (e.g. ‘©2016–2017’).

Determination of the Dates

Workspace uses any pre‐existing start date if it can detect one already in the file header. Workspace searches for ©, (C), or (c) followed by an optional space and four digits. If none is found, Workspace will use the current date as the start date.

Workspace always uses the current date as the end date.

macOS CentOS Ubuntu Amazon Linux