I'm trying to find a way to delete a raster dataset (in any format) using arcpy. As it is now I have been writing custom functions for each file type (eg, delete directory and pyramids for grids, delete .tif, .tfw, ...etc for geotiffs).
Seem like this should be an obvious thing but I can't find it in the function list.