Function grafbase_local_backend::project::reset
source · pub fn reset() -> Result<(), BackendError>Expand description
resets the local data for the current project by removing the .grafbase directory
Errors
-
returns
BackendError::ReadCurrentDirectoryif the current directory cannot be read -
returns
BackendError::DeleteDotGrafbaseDirectoryif the.grafbasedirectory cannot be deleted