Initializerswift-package-manager 6.0.3PackageModel
init(name:baseDirectory:snippets:explanation:)
SnippetGroup.swift:21init(name: String, baseDirectory: AbsolutePath, snippets: [Snippet], explanation: String)
init(name: String, baseDirectory: AbsolutePath, snippets: [Snippet], explanation: String)
s12PackageModel12SnippetGroupV4name13baseDirectory8snippets11explanationACSS_6Basics12AbsolutePathVSayAA0C0VGSStcfc
What are these?886PA
import PackageModel
struct SnippetGroup
@frozen struct String
A Unicode string value that is a collection of characters.
struct AbsolutePath
Represents an absolute file system path, independently of what (or whether anything at all) exists at that path in the file system at any given time. An absolute path always starts with a /
character, and holds a normalized string representation. This normalization is strictly syntactic, and does not access the file system in any way.
struct Snippet
var baseDirectory: AbsolutePath
var explanation: String
var name: String
var snippets: [Snippet]