MCPcopy Create free account
hub / github.com/an0nfunc/ALHP / SetNillableRepoVersion

Method SetNillableRepoVersion

ent/dbpackage_create.go:96–101  ·  view source on GitHub ↗

SetNillableRepoVersion sets the "repo_version" field if the given value is not nil.

(v *string)

Source from the content-addressed store, hash-verified

94
95// SetNillableRepoVersion sets the "repo_version" field if the given value is not nil.
96func (_c *DBPackageCreate) SetNillableRepoVersion(v *string) *DBPackageCreate {
97 if v != nil {
98 _c.SetRepoVersion(*v)
99 }
100 return _c
101}
102
103// SetBuildTimeStart sets the "build_time_start" field.
104func (_c *DBPackageCreate) SetBuildTimeStart(v time.Time) *DBPackageCreate {

Callers

nothing calls this directly

Calls 1

SetRepoVersionMethod · 0.95

Tested by

no test coverage detected