import "github.com/ubclaunchpad/inertia/common"
Package common provides utilities, shared variables, and types for both the client and the daemon
CheckForDockerCompose returns false if current directory is a not a docker-compose project
CheckForDockerfile returns false if current directory is a not a Dockerfile project
ExtractRepository gets the project name from its URL in the form [username]/[project]
GenerateRandomString creates a rand.Reader-generated string for use with simple secrets and identifiers
GetBranchFromRef gets the branch name from a git ref of form refs/...
GetFullPath returns the absolute path of the config file.
GetSSHRemoteURL gets the URL of the given remote in the form "git@github.com:[USER]/[REPOSITORY].git"
ParseDate parses a date in format "2006-01-02T15:04:05.000Z"
ParseInt64 parses a string into an int64 value
RemoveContents removes all files within given directory, returns nil if successful
type DevNull struct{}
DevNull writes to null, since a nil io.Writer will break shit
Package common imports 9 packages (graph) and is imported by 17 packages. Updated 2020-08-30. Refresh now. Tools for package owners.