See #38 for more context. TL;DR: We use update_one for cases when a resource by some path changed or was deleted at all. We can't canonicalize a non-existent path, so we fail to call update_one in this case. This API should receive plain Path-like type: Path, PathBuf or be generic with AsRef<Path>.
This is an oversight of implementation in #42
See #38 for more context. TL;DR: We use
update_one
for cases when a resource by some path changed or was deleted at all. We can't canonicalize a non-existent path, so we fail to callupdate_one
in this case. This API should receive plainPath
-like type:Path
,PathBuf
or be generic withAsRef<Path>
.