Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ String
Method
String
pkg/cmd/codespace/create.go:40–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
38
}
39
40
func
(d *NullableDuration) String() string {
41
if
d.Duration != nil {
42
return
d.Duration.String()
43
}
44
45
return
""
46
}
47
48
func
(d *NullableDuration) Set(str string) error {
49
duration, err := time.ParseDuration(str)
Callers
nothing calls this directly
Calls
1
String
Method · 0.65
Tested by
no test coverage detected