spf13 / afero

A FileSystem Abstraction System for Go
Apache License 2.0
5.79k stars 498 forks source link

Fix MemMapFs inconsistent path store #389

Open Frassle opened 1 year ago

Frassle commented 1 year ago

Adds a test that fails for the current MemMapFs when creating files in nested directories with synonyms for the path (i.e. full path, relative path, explict relative path).

Also fixes MemMapFs so that test (and all others pass).

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.