(id string)
| 36 | } |
| 37 | |
| 38 | func newProfile(id string) *profile { |
| 39 | return &profile{id: id, FileSystemBase: FileSystemBase{resolvePath: func(name FSName) string { |
| 40 | return util.SafeJoinFilePaths(profilesPath, id, string(name)) |
| 41 | }}} |
| 42 | } |
| 43 | |
| 44 | func loadProfile(id string) (*profile, error) { |
| 45 | p := newProfile(id) |
no test coverage detected