Nothing changed in a code. Just added new test/testdata and updated README.
TBD: DiscoverSQLMigrationsFromFilesystem and all under the hood may be refactored from http.FileSystem to fs.FS but it will break backwards compatibility.
I don’t think that would work well, especially on Windows, because DiscoverSQLMigrationsFromFilesystem for some reason converts dir to absolute path using filepath.Abs.
Nothing changed in a code. Just added new test/testdata and updated README.
TBD:
DiscoverSQLMigrationsFromFilesystem
and all under the hood may be refactored fromhttp.FileSystem
tofs.FS
but it will break backwards compatibility.