/usr/share/pyshared/CedarBackup2/actions/constants.py is in cedar-backup2 2.27.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 38 39 | # -*- coding: iso-8859-1 -*-
# vim: set ft=python ts=3 sw=3 expandtab:
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
# C E D A R
# S O L U T I O N S "Software done right."
# S O F T W A R E
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
# Author : Kenneth J. Pronovici <pronovic@ieee.org>
# Language : Python 2 (>= 2.7)
# Project : Cedar Backup, release 2
# Purpose : Provides common constants used by standard actions.
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
########################################################################
# Module documentation
########################################################################
"""
Provides common constants used by standard actions.
@sort: DIR_TIME_FORMAT, DIGEST_EXTENSION, INDICATOR_PATTERN,
COLLECT_INDICATOR, STAGE_INDICATOR, STORE_INDICATOR
@author: Kenneth J. Pronovici <pronovic@ieee.org>
"""
########################################################################
# Module-wide constants and variables
########################################################################
DIR_TIME_FORMAT = "%Y/%m/%d"
DIGEST_EXTENSION = "sha"
INDICATOR_PATTERN = [ r"cback\..*", ]
COLLECT_INDICATOR = "cback.collect"
STAGE_INDICATOR = "cback.stage"
STORE_INDICATOR = "cback.store"
|