starting client/server connection
This commit is contained in:
		@@ -10,6 +10,10 @@ import (
 | 
			
		||||
 | 
			
		||||
//AddFiles adds files to the repo, inputType specifies file, folder, wildcard or all
 | 
			
		||||
func AddFiles(input string, inputType string, ignore clientconfig.Ignore) 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
 | 
			
		||||
	}
 | 
			
		||||
	workingDir, err := os.Getwd()
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return err
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user