mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-11-06 00:54:23 +00:00
Unexport factory functions
This commit is contained in:
@@ -18,9 +18,9 @@ type instancePersister struct {
|
||||
enabled bool
|
||||
}
|
||||
|
||||
// NewInstancePersister creates a new instance persister.
|
||||
// newInstancePersister creates a new instance persister.
|
||||
// If instancesDir is empty, persistence is disabled.
|
||||
func NewInstancePersister(instancesDir string) (*instancePersister, error) {
|
||||
func newInstancePersister(instancesDir string) (*instancePersister, error) {
|
||||
if instancesDir == "" {
|
||||
return &instancePersister{
|
||||
enabled: false,
|
||||
|
||||
Reference in New Issue
Block a user