MCPcopy Create free account
hub / github.com/MMadmer/EpicAssetsNotifyBot / cloneStringPtr

Function cloneStringPtr

internal/app/bootstrap.go:321–327  ·  view source on GitHub ↗
(value *string)

Source from the content-addressed store, hash-verified

319}
320
321func cloneStringPtr(value *string) *string {
322 if value == nil {
323 return nil
324 }
325 cloned := *value
326 return &cloned
327}
328
329

Callers 2

assetsFromSQLiteFunction · 0.70
assetsToSQLiteFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected