aboutsummaryrefslogtreecommitdiff
path: root/paludis/fs_merger.se
blob: 5681f13a918e6390cef0e4f9f314a0b67e3862e7 (plain)
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
29
30
31
32
33
34
35
36
37
#!/usr/bin/env bash
# vim: set sw=4 sts=4 et ft=sh :

make_enum_FSMergerStatusFlag()
{
    prefix msi

    key msi_unlinked_first          "We unlinked before the merge"
    key msi_rename                  "We renamed rather than copied"
    key msi_parent_rename           "A parent directory was renamed, so we weren't copied"
    key msi_used_existing           "We used the existing entry (e.g. dir over dir)"
    key msi_fixed_ownership         "We fixed owner or group from the reduced id"
    key msi_setid_bits              "The source file had set*id bits"
    key msi_xattr                   "The source file had xattr bits"
    key msi_as_hardlink             "We detected a hardlink and merged it as such"
    key msi_unselected_part         "The content belongs to an unselected part"

    doxygen_comment << "END"
        /**
         * Status flags for FSMerger, used by FSMergerStatusFlags
         *
         * \ingroup g_repository
         * \since 0.26
         * \since 0.51 called FSMergerStatusFlag instead of MergeStatusFlag
         */
END
}

make_enum_FSMergerOption()
{
    prefix fsmo

    key fsmo_dir_over_sym_dir_is_error   "Merging a directory over a symlink is an error"

    want_destringify
}