Skip to content

Commit

Permalink
NO-ISSUE Add Options method to LatestOptions (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang authored Mar 3, 2023
1 parent b61261a commit 587b6c4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -2548,6 +2548,11 @@ func LoadLatestOptions(path string, env *Env, ignoreUnknownOpts bool, cache *Cac
return
}

// Options gets the latest options.
func (l *LatestOptions) Options() *Options {
return &l.opts
}

// ColumnFamilyNames gets column family names.
func (l *LatestOptions) ColumnFamilyNames() []string {
return l.cfNames
Expand Down

0 comments on commit 587b6c4

Please sign in to comment.