Closed sverhoeven closed 1 year ago
Fixes #55
TODO
To test:
GET /api/job/{jobid}/directories
GET /api/job/{jobid}/directories/{path}
mkdir /tmp/jobs/1/somedir && /tmp/jobs/1/somedir/somefile
somedir
somefile
Fixes #55
TODO
think harder about return shape.Looks a lot like os.DirEntry which is ok.To test:
GET /api/job/{jobid}/directories
routeGET /api/job/{jobid}/directories/{path}
mkdir /tmp/jobs/1/somedir && /tmp/jobs/1/somedir/somefile
somedir
as value for path parameter.somefile
as file.