MCPcopy Create free account
hub / github.com/s3tools/s3cmd / parse_attrs_header

Function parse_attrs_header

S3/S3.py:2322–2327  ·  view source on GitHub ↗
(attrs_header)

Source from the content-addressed store, hash-verified

2320__all__.append("S3")
2321
2322def parse_attrs_header(attrs_header):
2323 attrs = {}
2324 for attr in attrs_header.split("/"):
2325 key, val = attr.split(":")
2326 attrs[key] = val
2327 return attrs
2328
2329# vim:et:ts=4:sts=4:ai

Callers 2

send_requestMethod · 0.85
recv_fileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…