MCPcopy Create free account
hub / github.com/cli/cli / ProjectsV1Support

Interface ProjectsV1Support

internal/gh/projects.go:8–10  ·  view source on GitHub ↗

ProjectsV1Support provides type safety and readability around whether or not Projects v1 is supported by the targeted host. It is a sealed type to ensure that consumers must use the exported ProjectsV1Supported and ProjectsV1Unsupported variables to get an instance of the type.

Source from the content-addressed store, hash-verified

6// It is a sealed type to ensure that consumers must use the exported ProjectsV1Supported and ProjectsV1Unsupported
7// variables to get an instance of the type.
8type ProjectsV1Support interface {
9 sealed()
10}
11
12type projectsV1Supported struct{}
13

Callers

nothing calls this directly

Implementers 4

MutableSafeURLinternal/safeurl/safeurl.go
ImmutableSafeURLinternal/safeurl/safeurl.go
projectsV1Supportedinternal/gh/projects.go
projectsV1Unsupportedinternal/gh/projects.go

Calls

no outgoing calls

Tested by

no test coverage detected