Skip to content

Commit

Permalink
removed cachedir code (#355)
Browse files Browse the repository at this point in the history
co-authored-by: Jacob Blain Christen <[email protected]>
  • Loading branch information
zackbradys and dweomer authored Nov 6, 2024
1 parent dd50ed9 commit 2fa6c36
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/flags/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ import (

type StoreRootOpts struct {
StoreDir string
CacheDir string
}

func (o *StoreRootOpts) AddFlags(cmd *cobra.Command) {
pf := cmd.PersistentFlags()
pf.StringVarP(&o.StoreDir, "store", "s", consts.DefaultStoreName, "(Optional) Specify the directory to use for the content store")
pf.StringVar(&o.CacheDir, "cache", "", "(deprecated flag and currently not used)")
}

func (o *StoreRootOpts) Store(ctx context.Context) (*store.Layout, error) {
Expand Down

0 comments on commit 2fa6c36

Please sign in to comment.