mirror of
https://github.com/borgbackup/borg.git
synced 2026-02-03 20:40:16 -05:00
this coverage configuration is mostly for travis and there we only can test linux and darwin.
16 lines
570 B
Python
16 lines
570 B
Python
import sys
|
|
|
|
if sys.platform.startswith('linux'): # pragma: linux only
|
|
from .platform_linux import acl_get, acl_set, API_VERSION
|
|
elif sys.platform.startswith('freebsd'): # pragma: freebsd only
|
|
from .platform_freebsd import acl_get, acl_set, API_VERSION
|
|
elif sys.platform == 'darwin': # pragma: darwin only
|
|
from .platform_darwin import acl_get, acl_set, API_VERSION
|
|
else: # pragma: unknown platform only
|
|
API_VERSION = 2
|
|
|
|
def acl_get(path, item, st, numeric_owner=False):
|
|
pass
|
|
|
|
def acl_set(path, item, numeric_owner=False):
|
|
pass
|