MCPcopy Create free account
hub / github.com/cogentcore/core / Open

Method Open

core/settings.go:570–577  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

568}
569
570func (ss *SystemSettingsData) Open() error {
571 fnm := ss.Filename()
572 err := tomlx.Open(ss, fnm)
573 if len(ss.FavPaths) == 0 {
574 ss.FavPaths.setToDefaults()
575 }
576 return err
577}
578
579// TimeFormat returns the Go time format layout string that should
580// be used for displaying times to the user, based on the value of

Callers

nothing calls this directly

Calls 3

OpenFunction · 0.92
setToDefaultsMethod · 0.80
FilenameMethod · 0.65

Tested by

no test coverage detected