Buckets:
| from app.assets.services.file_utils import get_size_and_mtime_ns | |
| def test_file_stat_reports_size_and_mtime(tmp_path): | |
| path = tmp_path / "asset.bin" | |
| path.write_bytes(b"bytes") | |
| size, mtime_ns = get_size_and_mtime_ns(str(path)) | |
| assert size == 5 | |
| assert mtime_ns > 0 | |
Xet Storage Details
- Size:
- 286 Bytes
- Xet hash:
- cf8b7513fc7e6ae0feef8e79ab887e258f6a548408b4fb539e5f1229a4d4e941
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.