MCPcopy Create free account
hub / github.com/Prejudice-Studio/Twilight / inviteCodeRandomAlgorithmOptions

Function inviteCodeRandomAlgorithmOptions

internal/api/config_admin.go:886–889  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

884 return store.BackupInfo{}, err
885 }
886 return store.BackupInfo{Name: name, Path: path, Size: int64(len(content)), CreatedAt: now.Unix()}, nil
887}
888
889func listConfigBackups(dir string) ([]store.BackupInfo, error) {
890 entries, err := os.ReadDir(dir)
891 if err != nil {
892 if os.IsNotExist(err) {

Callers 1

configSectionDefsFunction · 0.85

Calls 1

Tested by

no test coverage detected