minifile

package
v1.0.1-rel-02 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: AFL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectMiniFile

func InjectMiniFile(s *MiniFile)

func LoadMiniFile

func LoadMiniFile() baseiface.ISingleton

Types

type MiniFile

type MiniFile struct {
	basedto.BaseEntitySingle `json:"-"`
	metafile.MetaFile

	RootDir string `json:"rootDir,omitempty"`
	// contains filtered or unexported fields
}

func FindBeanMiniFile

func FindBeanMiniFile() *MiniFile

FindBeanMiniFile

func NewMiniFile

func NewMiniFile() *MiniFile

func (*MiniFile) CfgEnvFile

func (this *MiniFile) CfgEnvFile() string

func (*MiniFile) CheckConfigFileExist

func (this *MiniFile) CheckConfigFileExist(root, f string) bool

func (*MiniFile) CheckFileExist

func (this *MiniFile) CheckFileExist(filename string) bool

func (*MiniFile) ConfigFile

func (this *MiniFile) ConfigFile() string

func (*MiniFile) ConfigPath

func (this *MiniFile) ConfigPath() string

func (*MiniFile) FindBasePkg

func (this *MiniFile) FindBasePkg() string

find inst.go rootpkg

func (*MiniFile) FindFiles

func (this *MiniFile) FindFiles(rootdir string, suffix string) ([]string, error)

func (*MiniFile) FindRoot

func (this *MiniFile) FindRoot(curpath, filename string) string

go.mod

func (*MiniFile) FindRootDir

func (this *MiniFile) FindRootDir() string

func (*MiniFile) GetCurPath

func (this *MiniFile) GetCurPath() string

func (*MiniFile) SetCfgEnvFile

func (this *MiniFile) SetCfgEnvFile(cfgEnvFile string)

func (*MiniFile) SetConfigFile

func (this *MiniFile) SetConfigFile(configFile string)

func (*MiniFile) SetConfigPath

func (this *MiniFile) SetConfigPath(configPath string)

func (*MiniFile) TryFileExist

func (this *MiniFile) TryFileExist(filename string) bool

Jump to

Keyboard shortcuts

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