Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document a contract for Tomb #13

Open
mgdelacroix opened this issue May 14, 2015 · 0 comments
Open

Document a contract for Tomb #13

mgdelacroix opened this issue May 14, 2015 · 0 comments

Comments

@mgdelacroix
Copy link
Contributor

This is a good example. The interface should define a series of rules that all the backends should comply.

Each backend should define the behaviour of the special cases that are not contemplated on the interface's rules.

For example, the exists method will always work on files (interface rule). On amazon, it will not work on directories, but it will on the local filesystem (backend rules).

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

No branches or pull requests

1 participant