mirror of
https://github.com/logos-storage/bittorrent-benchmarks.git
synced 2026-01-03 13:33:07 +00:00
8 lines
244 B
Python
8 lines
244 B
Python
from pathlib import Path
|
|
|
|
|
|
def shared_volume() -> Path:
|
|
return Path(__file__).parent.parent.parent.joinpath('volume')
|
|
|
|
def compact(a_string: str) -> str:
|
|
return '\n'.join([line.strip() for line in a_string.splitlines() if line.strip()]) |