// parseParse parses a s3 'url'
parseParse parses a s3 'url'
// parseParse parses a s3 ' url '
func s3ParsePath(path string) (bucket, directory string, err error) {
	parts := matcher.FindStringSubmatch(path)
	if parts == nil {
		err = errors.Errorf("couldn't parse bucket out of s3 path %q", path)
	} else {
		bucket, directory = parts[1], parts[2]
		directory = strings.Trim(directory, "/")
	}
	return
}
func s3ParsePath ( path string ) ( bucket , directory string , err error ) { parts := matcher . FindStringSubmatch ( path ) if parts == nil { err = errors . Errorf ( " " , path ) } else { bucket , directory = parts [ 1 ] , parts [ 2 ] directory = strings . Trim ( directory , " " ) } return }
parseParse parses a s3 'url'
parseParse parses a s3 ' url '