platform.py 543 B

12345678910
  1. import sys
  2. from .platform_base import acl_get, acl_set, SyncFile, sync_dir, set_flags, get_flags, swidth, API_VERSION
  3. if sys.platform.startswith('linux'): # pragma: linux only
  4. from .platform_linux import acl_get, acl_set, SyncFile, set_flags, get_flags, swidth, API_VERSION
  5. elif sys.platform.startswith('freebsd'): # pragma: freebsd only
  6. from .platform_freebsd import acl_get, acl_set, swidth, API_VERSION
  7. elif sys.platform == 'darwin': # pragma: darwin only
  8. from .platform_darwin import acl_get, acl_set, swidth, API_VERSION