mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 01:06:50 +00:00
15 lines
378 B
Python
15 lines
378 B
Python
import os
|
|
|
|
platform = os.uname()[0]
|
|
|
|
if platform == 'Linux':
|
|
from attic.platform_linux import acl_get, acl_set, API_VERSION
|
|
elif platform == 'FreeBSD':
|
|
from attic.platform_freebsd import acl_get, acl_set, API_VERSION
|
|
else:
|
|
API_VERSION = 1
|
|
|
|
def acl_get(path, item, numeric_owner=False):
|
|
pass
|
|
def acl_set(path, item, numeric_owner=False):
|
|
pass
|