I have a directory:
basepath + /my/sub/directory
In that subdirectory, I have multiple instances of a file with name file.json
Example:
my/file.json
my/sub/file.json
my/sub/directory/file.json
What I want to do is use the full directory path and walk BACK up the file tree until I hit the basepath
and find all the filepaths for the file.json
I looked at filepath.Walk
but that seems to go downwards through the directory tree, not upwards