Base64 encoding and case insensitive file systems
wlandau opened this issue · comments
Will Landau commented
The Windows file system is case-insensitive, which could cause name collisions in rare edge cases.
library(storr)
s <- storr::storr_rds(tempfile(), mangle_key = TRUE)
s$set("a", TRUE)
s$set("É", FALSE)
s$list()
#> [1] "É"
s$get("a")
#> [1] FALSE
Created on 2019-01-02 by the reprex package (v0.2.1)
Base32 encoding would exacerbate #94, but not by much.
Rich FitzJohn commented
OSX too! This is probably not something that can be worked around directly, but something that should be documented. Something that could be dealt with in the #89 work?
Will Landau commented
Yeah, I think documentation + #90 may be enough, especially since this is a rare enough edge case.