The DeleteDataSource() implementation of the OpenFileGDB driver only deletes the files inside the FGDB directory but not the directory itself. Since the FGDB format is a directory-based format, I expect this method to also delete the folder.
Steps to reproduce the problem.
var driver = Ogr.GetDriverByName("OpenFileGDB"); driver.DeleteDataSource(fgdbPath);
Expected behavior and actual behavior.
The DeleteDataSource() implementation of the OpenFileGDB driver only deletes the files inside the FGDB directory but not the directory itself. Since the FGDB format is a directory-based format, I expect this method to also delete the folder.
Steps to reproduce the problem.
var driver = Ogr.GetDriverByName("OpenFileGDB"); driver.DeleteDataSource(fgdbPath);
Operating system
Windows 10 Enterprise 21H2
GDAL version and provenance
C# binding of GDAL v3.6.2 (NuGet)