refactor: storeddata.

This commit is contained in:
Fernandez Ludovic 2019-09-01 18:28:46 +02:00
parent ffad4229fd
commit 701a8bd4f6
3 changed files with 6 additions and 6 deletions

View File

@ -10,3 +10,9 @@ type BaseConfig struct {
Watch bool
Hook string
}
// FileInfo File information.
type FileInfo struct {
Name string
Ext string
}

View File

@ -14,12 +14,6 @@ const (
keysSubDir = "private"
)
// FileInfo File information.
type FileInfo struct {
Name string
Ext string
}
// Dump Dumps data to certificates.
func Dump(data *StoredData, baseConfig *BaseConfig) error {
if baseConfig.Clean {