GetTypeNames returns the list of all the types stored in the restored pdir.
(pdir string)
| 232 | |
| 233 | // GetTypeNames returns the list of all the types stored in the restored pdir. |
| 234 | func GetTypeNames(pdir string) ([]string, error) { |
| 235 | return readSchema(pdir, schemaType) |
| 236 | } |
| 237 | |
| 238 | // CheckSchema checks the names of the predicates and types in the schema against the given names. |
| 239 | func CheckSchema(t *testing.T, preds, types []string) { |