slamdata / purescript-quasar

Quasar API library for PureScript
Apache License 2.0
1 stars 7 forks source link

Recognise mimir/unknown mounts in the FS #61

Closed garyb closed 7 years ago

garyb commented 7 years ago

This is a bit more of a refactoring than the previous change, but the change here ensures that we won't end up with the FS mount stuff and the mount config sum types out of sync. As well as the FS missing mimir/unknown it was also missing a value for SparkFTP. This will be impossible in the future as there is a mapping from config to MountType now, which will become partial if only one the config is updated.

Actually, the mapping is only enforced one way, but at least it will be easier not to forget now.