// Drop drops the files and chunks collections associated with this bucket.
//
// If this operation requires a custom write deadline to be set on the bucket, it cannot be done concurrently with other
// write operations operations on this bucket that also require a custom deadline
Drop drops the files and chunks collections associated with this bucket.

If this operation requires a custom write deadline to be set on the bucket, it cannot be done concurrently with other
write operations operations on this bucket that also require a custom deadline
// Drop drops the files and chunks collections associated with this bucket . // // If this operation requires a custom write deadline to be set on the bucket it cannot be done concurrently with other // write operations operations on this bucket that also require a custom deadline
func (b *Bucket) Drop() error {
	ctx, cancel := deadlineContext(b.writeDeadline)
	if cancel != nil {
		defer cancel()
	}
	err := b.filesColl.Drop(ctx)
	if err != nil {
		return err
	}
	return b.chunksColl.Drop(ctx)
}
func ( b * Bucket ) Drop ( ) error { ctx , cancel := deadlineContext ( b . writeDeadline ) if cancel != nil { defer cancel ( ) } err := b . filesColl . Drop ( ctx ) if err != nil { return err } return b . chunksColl . Drop ( ctx ) }
Drop drops the files and chunks collections associated with this bucket.
Drop drops the files and chunks collections associated with this bucket .