Some operations to handle the CASS resource configuration file
that is stored in $HOME/.cassrc
Author: Michael Hanus
Version: January 2025
readRCFile
:: IO CConfig
Reads the rc file (and try to install a user copy of it if it does not exist) and returns its definition. |
updateProperty
:: String -> String -> CConfig -> CConfig
Updates a property. |
Reads the rc file (and try to install a user copy of it if it does not exist) and returns its definition. Additionally, the definitions are compared with the default property file of the CASS distribution. If the set of variables is different, the rc file of the user is updated with the distribution but the user's definitions are kept. |
Updates a property. |