moving manager over to the engine for now
This commit is contained in:
@@ -7,11 +7,11 @@ import (
|
||||
|
||||
clientconfig "github.com/deranjer/gvc/client/clientconfig"
|
||||
"github.com/deranjer/gvc/common"
|
||||
"github.com/deranjer/gvc/common/manager"
|
||||
"github.com/deranjer/gvc/common/engine"
|
||||
)
|
||||
|
||||
//AddFiles adds files to the repo, inputType specifies file, folder, wildcard or all
|
||||
func AddFiles(input string, inputType string, ignore common.FileTypes, m *manager.Manager) error {
|
||||
func AddFiles(input string, inputType string, ignore common.FileTypes, m *engine.Manager) error {
|
||||
err := validateFileType(input, inputType) // Making sure that if the file flag was used a folder was not supplied and vice versa
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user