diff options
| author | Zygmunt Krynicki <me@zygoon.pl> | 2016-10-03 17:33:24 +0200 |
|---|---|---|
| committer | Gustavo Niemeyer <gustavo@niemeyer.net> | 2016-10-03 12:33:24 -0300 |
| commit | cbd52a44d4af8eb74fb2893da1faaab34876690c (patch) | |
| tree | d573fc8a220ad0011484f98f6cd752f2605ab396 /docs | |
| parent | 9812e4f7ce4c86188f13a34ad8f19c458a00f584 (diff) | |
interfaces,docs: allow sharing SNAP{,_DATA,_COMMON} via content iface (#2063)
This patch expands the features of the content interface to allow sharing files from either $SNAP (the snap content), $SNAP_DATA (the per-revision snap data) or $SNAP_COMMON (the data common across revisions). The old syntax, without any of those variables behaves as if $SNAP was implicitly used so backwards compatiblity is retained. Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/interfaces.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/interfaces.md b/docs/interfaces.md index 728be6308f..8269b9472b 100644 --- a/docs/interfaces.md +++ b/docs/interfaces.md @@ -251,6 +251,11 @@ filesystem area. * write (slot): read-write paths from providing snap to expose to the consuming snap * target (plug): path in consuming snap to find providing snap's files +The all of the three attributes can start with either ``$SNAP``, ``$SNAP_DATA`` +or ``$SNAP_COMMON`` to refer to the designated directory. By default, if no +other variable is used then ``$SNAP`` is implicitly assumed. This is the same +syntax that was used when the content interface was originally introduced. + ### cups-control Can access cups control socket which gives privileged access to configure |
