Tracking issue for macOS/APFS support
There's a stub
darwin.cwhich should be easy enough to fill in.
Only problem I currently have with doing that is that I cannot find a CI solution for Darwin. CircleCI would work if I could feed it a git repo and a hook, same for Travis.
Second: I made a branch
darwin, which should get tested (and preferably CI'd) by someone with a Mac.
It seems like our compatibility testing method might be easier on macOS:
Not all volumes support clonefile(). A volume can be tested for clonefile() support by using getattrlist(2) to get the volume capabili- ties attribute ATTR_VOL_CAPABILITIES, and then testing the VOL_CAP_INT_CLONE flag.
So one might want to implement this natively instead of naively :-)