python-swiftclient puts segments in a separate container to not to pollute file listings (e.g segment_container = container + '_segments' ) Unfortunately clients still see these segment containers but they do not need to. segments should be in a hidden container (e.g segment_container = '.segments_' + container) . This will allow Windows clients such as Expandrive to hide these folders and greatly increase end user experience and reduce helpdesk tickets to IT departments ("What is this _segment stuff, can I delete it ?") . This behavior would be consistent with the swift stack undelete feature https://github.com/swiftstack/swift_undelete which creates trash cans starting with .trash
grep -R "_segments" python-swiftclient/*
python-swiftclient/swiftclient/service.py: 'leave_segments': False,
python-swiftclient/swiftclient/service.py: 'leave_segments': False,
python-swiftclient/swiftclient/service.py: seg_container = container + '_segments'
python-swiftclient/swiftclient/service.py: segment_container = container + '_segments'
python-swiftclient/swiftclient/service.py: or not options['leave_segments']):
python-swiftclient/swiftclient/service.py: if not options['leave_segments']:
python-swiftclient/swiftclient/service.py: seg_container = container + '_segments'
python-swiftclient/swiftclient/service.py: 'leave_segments': False,
python-swiftclient/swiftclient/service.py: if not options['leave_segments']:
python-swiftclient/swiftclient/service.py: dlo_segments_deleted = True
python-swiftclient/swiftclient/service.py: dlo_segments_deleted = False
python-swiftclient/swiftclient/service.py: res['dlo_segments_deleted'] = dlo_segments_deleted
python-swiftclient/swiftclient/shell.py: dest='leave_segments', default=False,
python-swiftclient/swiftclient/shell.py: <container>_segments container to not pollute the
python-swiftclient/swiftclient/shell.py: '<container>_segments container to not pollute the main '
python-swiftclient/swiftclient/shell.py: dest='leave_segments', default=False, help='Indicates that you want '
python-swiftclient/swiftclient/shell_dbg.py: dest='leave_segments', default=False,
python-swiftclient/swiftclient/shell_dbg.py: <container>_segments container to not pollute the
python-swiftclient/swiftclient/shell_dbg.py: '<container>_segments container to not pollute the main '
python-swiftclient/swiftclient/shell_dbg.py: dest='leave_segments', default=False, help='Indicates that you want '
python-swiftclient/tests/functional/test_swiftclient.py: self.containername + '_segments']:
python-swiftclient/tests/unit/test_shell.py: mock.call('container_segments',
python-swiftclient/tests/unit/test_service.py: self.opts = {'leave_segments': False, 'yes_all': False}
python-swiftclient/tests/unit/test_service.py: 'dlo_segments_deleted': True