# Packages
No description provided by the author
# Functions
AskConfirm asks the user for confirmation and returns true if yes.
AtoiUint64 converts string to uint64.
BitHas32 checks if a bit is set in b.
Bold makes the input string bold.
Chdir changes current directory and updates PWD environment var accordingly.
CheckRecommendedBinaries warns if some binaries not found in PATH.
CheckRequiredBinaries returns an error if some binaries not found in PATH.
CheckVersionFromGit enters the passed path, tries to get a git version it is a git repo, parses and returns a normalized string.
CollectAppList collects all the supposed applications in passed appsPath directory.
ConcatBuffers appends sources content to dest.
CopyFileChangePerms copies file from source to destination with changing perms.
CopyFileDeep copies a file resolving symlinks.
CopyFilePreserve copies file from source to destination with perms.
CreateDirectory create a directory with existence and error checks.
CreateSymlink creates newName as a symbolic link to oldName.
ExecuteCommand executes program with given args in verbose or quiet mode.
ExecuteCommandStdin executes program with given args in verbose or quiet mode and sends stdinData to stdin pipe.
ExecuteCommandStdin executes program with given args in verbose or quiet mode and sends stdinData to stdin pipe.
ExtractTar extracts tar archive.
ExtractTarGz extracts tar.gz archive.
FileLinesScanner returns scanner for file.
FileMD5 computes MD5 for a given file.
FileMD5Hex computes MD5 for a given file.
FileSHA1Hex computes SHA1 for a given file.
FileSHA256Hex computes SHA256 for a given file.
Find find index of specified string in the slice.
FindNamedMatches processes regexp with named capture groups and transforms output to a map.
FsCopyFileChangePerms copies file from the certain FS with changing perms.
GetArch returns Architecture of machine.
GetFileContent returns file content as a string.
GetFileContentBytes returns file content as a bytes slice.
GetHelpCommand returns the help command for the passed cmd argument.
GetHomeDir returns current home directory.
GetLastNLines returns the last N lines from the file.
GetLastNLinesBegin return the position of last lines begin.
GetOs returns the operating system version of the host.
GetTextTemplatedStr returns the processed string text template.
GetYamlFileName searches for file with .yaml or .yml extension, based on the file name provided.
HandleCmdErr handles an error returned by command implementation.
InstantiateFileFromTemplate accepts the path to file, template content and parameters for its filling.
InternalError shows error information, version of tt and call stack.
IsApp detects if the passed path is an application.
isRegularFile checks if filePath is a directory.
IsExecOwner checks if specified file has owner execute permissions.
IsGitFetchJobsSupported checks if fetchJobs option (-j) is supported by current git version.
IsPullRequest returns is this pull-request format and pr num.
isRegularFile checks if filePath is a regular file.
IsValidCommitHash checks hash format.
JoinAbspath concat paths and makes the resulting path absolute.
JoinPaths concat paths.
Max returns the maximum value.
MergeFiles creates a file that is a concatenation of srcFilePaths.
Min returns minimal of two values.
NewArgError creates and returns new argument error.
ParseYAML parse yaml file at specified path.
No description provided by the author
RelativeToCurrentWorkingDir returns a path relative to current working dir.
ResolveSymlink resolves symlink path.
RunCommand runs specified command and returns an error.
RunCommandAndGetOutput returns output of command.
RunHook runs the specified hook.
StartCommandSpinner starts running spinner.
StringSHA1Hex computes SHA1 for a given string The result is returned in a hex form.
writeYaml writes YAML encoding of object o to fileName.
# Constants
MinCommitHashLength is the Git default for a short SHA.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ErrCmdAbort is reported when user aborts the program.
# Type aliases
No description provided by the author
VersionFunc is a type of function that return string with current Tarantool CLI version.