urlsafe_b64decode without padding SPDX-License-Identifier: MIT Copyright (c) 2012-2014 Daniel Holth and contributors. From: https://github.com/pypa/wheel/blob/66208910ab51f4008b034ef4833acfdc920f7606/src/wheel/util.py#L23
(data)
| 1307 | |
| 1308 | |
| 1309 | def urlsafe_b64decode(data): |
| 1310 | """ |
| 1311 | urlsafe_b64decode without padding |
| 1312 | SPDX-License-Identifier: MIT |
| 1313 | Copyright (c) 2012-2014 Daniel Holth <dholth@fastmail.fm> and contributors. |
| 1314 | From: https://github.com/pypa/wheel/blob/66208910ab51f4008b034ef4833acfdc920f7606/src/wheel/util.py#L23 |
| 1315 | """ |
| 1316 | pad = b'=' * (4 - (len(data) & 3)) |
| 1317 | return base64.urlsafe_b64decode(data.encode('ASCII') + pad) |
| 1318 | |
| 1319 | |
| 1320 | def get_file_references(dist): |
no test coverage detected