repository: define existing interface for file storage
ClosedPublic

Authored by indygreg on Apr 5 2018, 8:51 PM.

Details

Summary

Now that we have mostly successfully implemented an alternate
storage backend for files data, let's start to define the
interface for it!

This commit takes the mostly-working interface as defined by the
simple store repo and codifies it as the file storage interface.

The interface has been split into its logical components:

  • index metadata
  • fulltext data
  • mutation
  • everything else

I don't consider the existing interface to be great. But it will
help to have it more formally defined so we can start chipping away
at refactoring it.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
indygreg created this revision.Apr 5 2018, 8:51 PM
durin42 accepted this revision.Apr 6 2018, 8:54 PM
This revision is now accepted and ready to land.Apr 6 2018, 8:54 PM
This revision was automatically updated to reflect the committed changes.