From 7a02146d30b7d9f219969b67b410e5ab5b43a2d8 Mon Sep 17 00:00:00 2001 From: Cole Snodgrass Date: Tue, 25 Jun 2024 20:40:39 -0700 Subject: [PATCH] add comments --- internal/cmd/local/paths/paths.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/internal/cmd/local/paths/paths.go b/internal/cmd/local/paths/paths.go index 88a787a..79f8f43 100644 --- a/internal/cmd/local/paths/paths.go +++ b/internal/cmd/local/paths/paths.go @@ -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 {