unlink

Function unlink 

Source
pub fn unlink() -> Result<(), ApiError>
Expand description

ยงErrors

  • returns [BackendError::UnlinkedProject] if the project is not linked

  • returns [BackendError::DeleteProjectMetadataFile] if ~/.grafbase/project.json could not be deleted

  • returns [BackendError::ReadProjectMetadataFile] if ~/.grafbase/project.json could not be read