Skip to content

Commit

Permalink
removed cachedir code
Browse files Browse the repository at this point in the history
  • Loading branch information
zackbradys committed Nov 2, 2024
1 parent fb100a2 commit 737bf30
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 737bf30

Please sign in to comment.