Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Add the get user function#7

Open
esegal wants to merge 1 commit intogmr:masterfrom
esegal:add-getuser-function
Open

Add the get user function#7
esegal wants to merge 1 commit intogmr:masterfrom
esegal:add-getuser-function

Conversation

@esegal
Copy link

@esegal esegal commented Apr 17, 2019

I have a use case which I thought might be useful. In this case I want to get the first matching username (matching to server/port/db) out of a pgpass file. It's not currently implemented anywhere else, and I thought it might be useful.

@codecov-io
Copy link

codecov-io commented Apr 17, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@9b55ed5). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##             master      #7   +/-   ##
========================================
  Coverage          ?   98.8%           
========================================
  Files             ?       1           
  Lines             ?      84           
  Branches          ?      15           
========================================
  Hits              ?      83           
  Misses            ?       0           
  Partials          ?       1
Impacted Files Coverage Δ
pgpasslib.py 98.8% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b55ed5...4829459. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants