openRepository
Opens an existing repository.
path: path to the local file the repo is stored in.local_secret: a local secret. See theread_secretandwrite_secretparams in Self::session_create_repository for more details. If this repo uses local secret (s), this determines the access mode the repo is opened in:read_secretopens it in read mode,write_secretopens it in write mode and no secret or wrong secret opens it in blind mode. If this repo doesn't use local secret(s), the repo is opened in the maximal mode specified when the repo was created.