1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 17:27:31 +00:00
borg/borg/platform.py
Thomas Waldmann 5e98400a5a fix all references to package name
use relative imports if possible
reorder imports (1. stdlib 2. dependencies 3. borg 4. borg.testsuite)
2015-05-22 19:21:41 +02:00

16 lines
468 B
Python

import sys
if sys.platform.startswith('linux'):
from .platform_linux import acl_get, acl_set, API_VERSION
elif sys.platform.startswith('freebsd'):
from .platform_freebsd import acl_get, acl_set, API_VERSION
elif sys.platform == 'darwin':
from .platform_darwin import acl_get, acl_set, API_VERSION
else:
API_VERSION = 2
def acl_get(path, item, st, numeric_owner=False):
pass
def acl_set(path, item, numeric_owner=False):
pass