Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
colesnodgrass committed Jun 26, 2024
1 parent 522b953 commit 7a02146
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions internal/cmd/local/paths/paths.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@ import (
"path/filepath"
)

// UserHome is the user's home directory
var (
// UserHome is the user's home directory
UserHome = func() string {
h, _ := os.UserHomeDir()
return h
}()
// Airbyte is the full path to the ~/.airbyte directory
Airbyte = airbyte()
AbCtl = abctl()
Data = data()
// AbCtl is the full path to the ~/.airbyte/abctl directory
AbCtl = abctl()
// Data is the full path to the ~/.airbyte/abctl/data directory
Data = data()
)

func airbyte() string {
Expand Down

0 comments on commit 7a02146

Please sign in to comment.