return None
info = None
- stream_path = fs.get_ads(path, BB_META_STREAM_NAME)
+ stream_path = get_ads(path, BB_META_STREAM_NAME)
if stream_path.exists():
# NTFS ADS metadata
with stream_path.open() as f:
def write_metadata(path, version_info):
- with fs.get_ads(path, BB_META_STREAM_NAME).open('x') as f:
+ with get_ads(path, BB_META_STREAM_NAME).open('x') as f:
json.dump({'contentId': version_info.bb_id, 'version': version_info.version}, f)