refactor: storeddata.
This commit is contained in:
parent
ffad4229fd
commit
701a8bd4f6
@ -10,3 +10,9 @@ type BaseConfig struct {
|
|||||||
Watch bool
|
Watch bool
|
||||||
Hook string
|
Hook string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FileInfo File information.
|
||||||
|
type FileInfo struct {
|
||||||
|
Name string
|
||||||
|
Ext string
|
||||||
|
}
|
||||||
|
|||||||
@ -14,12 +14,6 @@ const (
|
|||||||
keysSubDir = "private"
|
keysSubDir = "private"
|
||||||
)
|
)
|
||||||
|
|
||||||
// FileInfo File information.
|
|
||||||
type FileInfo struct {
|
|
||||||
Name string
|
|
||||||
Ext string
|
|
||||||
}
|
|
||||||
|
|
||||||
// Dump Dumps data to certificates.
|
// Dump Dumps data to certificates.
|
||||||
func Dump(data *StoredData, baseConfig *BaseConfig) error {
|
func Dump(data *StoredData, baseConfig *BaseConfig) error {
|
||||||
if baseConfig.Clean {
|
if baseConfig.Clean {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user