classification
Title: Add a is_mount() to pathlib
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: cooperlees, lukasz.langa
Priority: normal Keywords:

Created on 2017-07-11 02:35 by cooperlees, last changed 2017-07-11 17:13 by lukasz.langa.

Pull Requests
URL Status Linked Edit
PR 2669 open cooperlees, 2017-07-11 16:27
Messages (2)
msg298104 - (view) Author: Cooper Lees (cooperlees) * Date: 2017-07-11 02:35
It would be nice to have pathlib.Path objects to have a ismount() function to return a bool if it is a POSIX mount point, similar to `os.path.ismount(path)`
msg298110 - (view) Author: Cooper Lees (cooperlees) * Date: 2017-07-11 03:28
Mocked up a concept PR. Will try teach myself how to test + see if I need to add Windows support etc.
https://github.com/cooperlees/cpython/commit/master
History
Date User Action Args
2017-07-11 17:13:23lukasz.langasetnosy: + lukasz.langa
2017-07-11 16:27:40cooperleessetpull_requests: + pull_request2735
2017-07-11 03:28:28cooperleessetmessages: + msg298110
2017-07-11 03:16:10cooperleessettitle: Add a ismount() to pathlib -> Add a is_mount() to pathlib
2017-07-11 02:35:10cooperleescreate