Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Walk (0.18 sec)

  1. istioctl/pkg/analyze/analyze.go

    		}
    	})
    	return local.ReaderSource{Name: f, Reader: r}, nil
    }
    
    func gatherFilesInDirectory(cmd *cobra.Command, dir string) ([]local.ReaderSource, error) {
    	var readers []local.ReaderSource
    
    	err := filepath.Walk(dir, func(path string, info os.FileInfo, err error) error {
    		if err != nil {
    			return err
    		}
    		// If we encounter a directory, recurse only if the --recursive option
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top