crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
2a583dd8
ROOT
/
go
/
libraries
/
utils
/
config
/
file_config.go
Search
History
151 lines
|
ISO-8859-1
|
3 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
FileConfig
Path
:
string
fs
:
filesys.ReadWriteFS
properties
:
map[string]string
_
:
ReadableConfig
_
:
WritableConfig
_
:
ReadWriteConfig
NewFileConfig
(path string, fs filesys.ReadWriteFS, properties map[string]string)
:
(*FileConfig, error)
FromFile
(path string, fs filesys.ReadWriteFS)
:
(*FileConfig, error)
*FileConfig
GetString
(k string)
:
(string, error)
GetStringOrDefault
(k, defStr string)
:
string
SetStrings
(updates map[string]string)
:
error
Iter
(cb func(string, string) (stop bool))
write
()
:
error
Unset
(params []string)
:
error
Size
()
:
int
All occurrences
Please wait...
Page is in error, reload to recover