MCPcopy Index your code
hub / github.com/aws/aws-cli / parse_key_val_file

Function parse_key_val_file

awscli/botocore/utils.py:695–701  ·  view source on GitHub ↗
(filename, _open=open)

Source from the content-addressed store, hash-verified

693
694
695def parse_key_val_file(filename, _open=open):
696 try:
697 with _open(filename) as f:
698 contents = f.read()
699 return parse_key_val_file_contents(contents)
700 except OSError:
701 raise ConfigNotFound(path=filename)
702
703
704def parse_key_val_file_contents(contents):

Calls 3

ConfigNotFoundClass · 0.90
readMethod · 0.45

Tested by 1