8000 MapOption API is unlike OpenOptions · Issue #2 · rbranson/rust-mmap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

MapOption API is unlike OpenOptions #2

Open
simias opened this issue Apr 21, 2015 · 0 comments
Open

MapOption API is unlike OpenOptions #2

simias opened this issue Apr 21, 2015 · 0 comments

Comments

@simias
Copy link
simias commented Apr 21, 2015

I think it would make sense for MapOption' API to be similar to the standard std::fs::OpenOptions by being an objects with methods for setting the different attributes instead of passing an array to MemoryMap constructor. Given the similarity in the names (and purposes) I would expect a similar API.

Of course it would break existing code but I think it's preferable to having a "non standard" API.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0