Skip to main content

Module utils

Module utils 

Source
Expand description

Custom helper utilities

Structs§

AppFile
Represents any file created and used by the application

Constants§

APP_NAME
SPINNER_TICK

Functions§

handle_error
Prints given error message to the standard error with application name and then exits the application with specified error code
path_is_repo
Checks if a given path is a git repository
repo_has_entry
Checks if a given repository has an entry in the specified file contents
repos_valid
Checks if the given repositories are valid and makes their paths absolute, prints an error message for every invalid entry