github.com/elves/elvish@v0.15.0/pkg/eval/mods/store/store.go (about)

     1  package store
     2  
     3  import (
     4  	"github.com/elves/elvish/pkg/eval"
     5  	"github.com/elves/elvish/pkg/store"
     6  )
     7  
     8  func Ns(s store.Store) *eval.Ns {
     9  	return eval.NsBuilder{}.AddGoFns("store:", map[string]interface{}{
    10  		"del-dir": s.DelDir,
    11  		"del-cmd": s.DelCmd,
    12  	}).Ns()
    13  }