mirror of
				https://github.com/minio/minio.git
				synced 2025-10-29 15:55:00 -04:00 
			
		
		
		
	Remove unused function. (#3143)
This commit is contained in:
		
							parent
							
								
									807cc3c28d
								
							
						
					
					
						commit
						6914fe436c
					
				| @ -67,16 +67,6 @@ func (u *uploadsV1) RemoveUploadID(uploadID string) { | |||||||
| 	} | 	} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // Index - returns the index of matching the upload id. |  | ||||||
| func (u uploadsV1) Index(uploadID string) int { |  | ||||||
| 	for i, u := range u.Uploads { |  | ||||||
| 		if u.UploadID == uploadID { |  | ||||||
| 			return i |  | ||||||
| 		} |  | ||||||
| 	} |  | ||||||
| 	return -1 |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| // readUploadsJSON - get all the saved uploads JSON. | // readUploadsJSON - get all the saved uploads JSON. | ||||||
| func readUploadsJSON(bucket, object string, disk StorageAPI) (uploadIDs uploadsV1, err error) { | func readUploadsJSON(bucket, object string, disk StorageAPI) (uploadIDs uploadsV1, err error) { | ||||||
| 	uploadJSONPath := path.Join(mpartMetaPrefix, bucket, object, uploadsJSONFile) | 	uploadJSONPath := path.Join(mpartMetaPrefix, bucket, object, uploadsJSONFile) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user