diff --git a/pkg/io/io.go b/pkg/io/io.go index 83d4eed..8ac17b1 100644 --- a/pkg/io/io.go +++ b/pkg/io/io.go @@ -17,7 +17,7 @@ import ( // It's handled by ErrorsCallback to tell the WalkCallback to skip this dir. var ErrSkipNode = errors.New(".git directory found, skipping this node") -// ErrDirectoryAccess indicated a direcotry doesn't exists or can't be accessed +// ErrDirectoryAccess indicated a directory doesn't exists or can't be accessed var ErrDirectoryAccess = errors.New("directory doesn't exist or can't be accessed") // TempDir creates a temporary directory for test repos. diff --git a/pkg/print/print.go b/pkg/print/print.go index d0743e7..38e06a5 100644 --- a/pkg/print/print.go +++ b/pkg/print/print.go @@ -43,7 +43,7 @@ type Repo interface { // prints status of currently checked out branch and the work tree. // The format is: branch_name branch_status [ worktree_status ] -// Eg: master 1 head 2 behind [ 1 uncomitted ] +// Eg: master 1 head 2 behind [ 1 uncommitted ] func printCurrentBranchLine(r Repo) string { var res []string