configHelper

package
v0.0.0-...-a97389e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFieldVal

func GetFieldVal(config commDomain.WorkspaceConf, key string) (val string)

func GetInterpreterConfig

func GetInterpreterConfig(config *commDomain.WorkspaceConf) (err error)

func LoadByConfigPath

func LoadByConfigPath(configPath string) (config commDomain.WorkspaceConf)

func LoadBySite

func LoadBySite(site model.Site) (config commDomain.WorkspaceConf)

func LoadByWorkspacePath

func LoadByWorkspacePath(workspacePath string) (config commDomain.WorkspaceConf)

func ReadFromFile

func ReadFromFile(workspacePath string) (config commDomain.WorkspaceConf)

func SaveConfig

func SaveConfig(config commDomain.WorkspaceConf, workspacePath string) (err error)

func SaveToFile

func SaveToFile(config commDomain.WorkspaceConf, workspacePath string) (err error)

func SetFieldVal

func SetFieldVal(config *commDomain.WorkspaceConf, key string, val string) string

func UpdateAllInterpreterConfig

func UpdateAllInterpreterConfig()

func UpdateInterpreterConfig

func UpdateInterpreterConfig(workspace model.Workspace) (err error)

func UpdateSite

func UpdateSite(site model.Site, workspacePath string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL