platform.py 468 B

12345678910111213141516
  1. import sys
  2. if sys.platform.startswith('linux'):
  3. from .platform_linux import acl_get, acl_set, API_VERSION
  4. elif sys.platform.startswith('freebsd'):
  5. from .platform_freebsd import acl_get, acl_set, API_VERSION
  6. elif sys.platform == 'darwin':
  7. from .platform_darwin import acl_get, acl_set, API_VERSION
  8. else:
  9. API_VERSION = 2
  10. def acl_get(path, item, st, numeric_owner=False):
  11. pass
  12. def acl_set(path, item, numeric_owner=False):
  13. pass