Skip to main content

github_resource_not_file_message

Function github_resource_not_file_message 

Source
pub fn github_resource_not_file_message(operation: &str, path: &str) -> String
Expand description

Refusal text for a GitHub address (issue://…, pr://…) given to a tool that can only touch local files. Such a spelling must never be resolved into a project path: joined onto the root it becomes <root>/issue:/N and a file or directory would be created there instead of a comment.