mirror of
https://github.com/codex-storage/bittorrent-benchmarks.git
synced 2025-01-27 11:25:00 +00:00
10 lines
246 B
Python
10 lines
246 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()])
|