MCPcopy Create free account
hub / github.com/theskumar/python-dotenv / peek

Method peek

src/dotenv/parser.py:80–81  ·  view source on GitHub ↗
(self, count: int)

Source from the content-addressed store, hash-verified

78 )
79
80 def peek(self, count: int) -> str:
81 return self.string[self.position.chars:self.position.chars + count]
82
83 def read(self, count: int) -> str:
84 result = self.string[self.position.chars:self.position.chars + count]

Callers 3

parse_keyFunction · 0.80
parse_valueFunction · 0.80
parse_bindingFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected