Mirror module: mirror arbitrary locations #41

Closed
EfraimFeinstein opened this Issue May 22, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@EfraimFeinstein
Owner

EfraimFeinstein commented May 22, 2012

The mirror module /code/modules/mirror.xqm currently mirrors a parent collection. It would be a lot better if an arbitrary mirror collection (say /caches/compiled) could mirror any collection in the db (eg /data/original).

Suggested implementation:

  • Add a mirror:create($mirror, $mirror-of) function
  • Keep a mirror record in $mirror that points to the base origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment