I was attempting to glob "/dev/video*" and found it annoying that I had to specify the directory path separately.
This PR only implements leading slash for the glob function called with strings, which was easy. I started trying to implement it for GlobMatch objects, but found it would take more time than I have right now. I'll open up a separate issue.
Coverage increased (+0.03%) when pulling 9ee9d1b23e78f5be0a4d4aa65c334e40a622497d on kmsquire:allow_leading_slash into df385986df446edabecc0cbe9e34f343639830c8 on vtjnash:master.
I was attempting to glob
"/dev/video*"
and found it annoying that I had to specify the directory path separately.This PR only implements leading slash for the
glob
function called with strings, which was easy. I started trying to implement it forGlobMatch
objects, but found it would take more time than I have right now. I'll open up a separate issue.