Skip to content

Add aiofiles.os.readlink function#125

Merged
Tinche merged 2 commits into
Tinche:masterfrom
jpy-git:aiofiles.os.readlink
Jan 7, 2022
Merged

Add aiofiles.os.readlink function#125
Tinche merged 2 commits into
Tinche:masterfrom
jpy-git:aiofiles.os.readlink

Conversation

@jpy-git

@jpy-git jpy-git commented Jan 7, 2022

Copy link
Copy Markdown
Contributor

Following up on the symlink PR #124 this PR adds the aiofiles.os.readlink function to retrieve the symlinked path from the symlink.

Docs: https://docs.python.org/3/library/os.html#os.readlink

Added a test case.

@codecov-commenter

codecov-commenter commented Jan 7, 2022

Copy link
Copy Markdown

Codecov Report

Merging #125 (d609474) into master (313f4a5) will increase coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #125      +/-   ##
==========================================
+ Coverage   89.73%   89.76%   +0.03%     
==========================================
  Files          10       10              
  Lines         302      303       +1     
==========================================
+ Hits          271      272       +1     
  Misses         31       31              
Impacted Files Coverage Δ
src/aiofiles/os.py 100.00% <100.00%> (ø)

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 313f4a5...d609474. Read the comment docs.

@Tinche

Tinche commented Jan 7, 2022

Copy link
Copy Markdown
Owner

Thanks!

@Tinche Tinche merged commit 5e7abad into Tinche:master Jan 7, 2022
@jpy-git jpy-git deleted the aiofiles.os.readlink branch January 7, 2022 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants