Proposal Details
When using os.Root
the only way to detect when a path would escape the root is using string comparison on the error because errPathEscapes
isn't exported. I propose exporting errPathEscapes
as ErrPathEscapes
so that errors.Is()
can be used.