pub fn reset() -> Result<(), BackendError>
Expand description
resets the local data for the current project by removing the .grafbase
directory
ยงErrors
-
returns
BackendError::ReadCurrentDirectory
if the current directory cannot be read -
returns
BackendError::DeleteDatabaseDirectory
if the.grafbase
directory cannot be deleted