// Exists checks if object exsists
Exists checks if object exsists
// Exists checks if object exsists
func (s S3Fs) Exists(path string) (bool, error) {
	_, err := s.client.GetObject(&s3.GetObjectInput{
		Bucket: aws.String(s.Bucket),
		Key:    aws.String(path),
	})
	if err != nil {
		return false, err
	}
	return true, nil
}
func ( s S3Fs ) Exists ( path string ) ( bool , error ) { _ , err := s . client . GetObject ( & s3 . GetObjectInput { Bucket : aws . String ( s . Bucket ) , Key : aws . String ( path ) , } ) if err != nil { return false , err } return true , nil }
Exists checks if object exsists
Exists checks if object exsists