File: std_layout.txt

package info (click to toggle)
libkiokudb-perl 0.57-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,396 kB
  • sloc: perl: 13,314; makefile: 12
file content (28 lines) | stat: -rw-r--r-- 773 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
on disk organization for standard MXSD:

    root/
        config.yml
            ---
            backend:
                class: ...
                ...
            indexes:
                - class: ...
                  roles: ...
                  type: entry or object
                  ...
        storage/
            ...
        indexes/
            foo/
            bar/
            gorch/

the load routine goes through the config, loads/composes/creates classes from
the class and roles params, and then provides these objects as constructor parameters.

Basically all you need to give is the 'root' parameter, and everything else is
configured from the config file.

It is still possible to instantiate everything manually, for different types of
backends, etc.