@@ -124,88 +124,97 @@ list(root_dir.glob('**/*.txt'))
124124
125125Most methods and properties from ` pathlib.Path ` are supported except for the ones that don't make sense in a cloud context. There are a few additional methods or properties that relate to specific cloud services or specifically for cloud paths.
126126
127- | Methods + properties | ` AzureBlobPath ` | ` S3Path ` | ` GSPath ` |
128- | :-----------------------| :------------------| :-----------| :-----------|
129- | ` absolute ` | ✅ | ✅ | ✅ |
130- | ` anchor ` | ✅ | ✅ | ✅ |
131- | ` as_uri ` | ✅ | ✅ | ✅ |
132- | ` drive ` | ✅ | ✅ | ✅ |
133- | ` exists ` | ✅ | ✅ | ✅ |
134- | ` glob ` | ✅ | ✅ | ✅ |
135- | ` is_absolute ` | ✅ | ✅ | ✅ |
136- | ` is_dir ` | ✅ | ✅ | ✅ |
137- | ` is_file ` | ✅ | ✅ | ✅ |
138- | ` is_relative_to ` | ✅ | ✅ | ✅ |
139- | ` iterdir ` | ✅ | ✅ | ✅ |
140- | ` joinpath ` | ✅ | ✅ | ✅ |
141- | ` match ` | ✅ | ✅ | ✅ |
142- | ` mkdir ` | ✅ | ✅ | ✅ |
143- | ` name ` | ✅ | ✅ | ✅ |
144- | ` open ` | ✅ | ✅ | ✅ |
145- | ` parent ` | ✅ | ✅ | ✅ |
146- | ` parents ` | ✅ | ✅ | ✅ |
147- | ` parts ` | ✅ | ✅ | ✅ |
148- | ` read_bytes ` | ✅ | ✅ | ✅ |
149- | ` read_text ` | ✅ | ✅ | ✅ |
150- | ` relative_to ` | ✅ | ✅ | ✅ |
151- | ` rename ` | ✅ | ✅ | ✅ |
152- | ` replace ` | ✅ | ✅ | ✅ |
153- | ` resolve ` | ✅ | ✅ | ✅ |
154- | ` rglob ` | ✅ | ✅ | ✅ |
155- | ` rmdir ` | ✅ | ✅ | ✅ |
156- | ` samefile ` | ✅ | ✅ | ✅ |
157- | ` stat ` | ✅ | ✅ | ✅ |
158- | ` stem ` | ✅ | ✅ | ✅ |
159- | ` suffix ` | ✅ | ✅ | ✅ |
160- | ` suffixes ` | ✅ | ✅ | ✅ |
161- | ` touch ` | ✅ | ✅ | ✅ |
162- | ` unlink ` | ✅ | ✅ | ✅ |
163- | ` with_name ` | ✅ | ✅ | ✅ |
164- | ` with_stem ` | ✅ | ✅ | ✅ |
165- | ` with_suffix ` | ✅ | ✅ | ✅ |
166- | ` write_bytes ` | ✅ | ✅ | ✅ |
167- | ` write_text ` | ✅ | ✅ | ✅ |
168- | ` as_posix ` | ❌ | ❌ | ❌ |
169- | ` chmod ` | ❌ | ❌ | ❌ |
170- | ` cwd ` | ❌ | ❌ | ❌ |
171- | ` expanduser ` | ❌ | ❌ | ❌ |
172- | ` group ` | ❌ | ❌ | ❌ |
173- | ` hardlink_to ` | ❌ | ❌ | ❌ |
174- | ` home ` | ❌ | ❌ | ❌ |
175- | ` is_block_device ` | ❌ | ❌ | ❌ |
176- | ` is_char_device ` | ❌ | ❌ | ❌ |
177- | ` is_fifo ` | ❌ | ❌ | ❌ |
178- | ` is_mount ` | ❌ | ❌ | ❌ |
179- | ` is_reserved ` | ❌ | ❌ | ❌ |
180- | ` is_socket ` | ❌ | ❌ | ❌ |
181- | ` is_symlink ` | ❌ | ❌ | ❌ |
182- | ` lchmod ` | ❌ | ❌ | ❌ |
183- | ` link_to ` | ❌ | ❌ | ❌ |
184- | ` lstat ` | ❌ | ❌ | ❌ |
185- | ` owner ` | ❌ | ❌ | ❌ |
186- | ` readlink ` | ❌ | ❌ | ❌ |
187- | ` root ` | ❌ | ❌ | ❌ |
188- | ` symlink_to ` | ❌ | ❌ | ❌ |
189- | ` as_url ` | ✅ | ✅ | ✅ |
190- | ` clear_cache ` | ✅ | ✅ | ✅ |
191- | ` cloud_prefix ` | ✅ | ✅ | ✅ |
192- | ` copy ` | ✅ | ✅ | ✅ |
193- | ` copytree ` | ✅ | ✅ | ✅ |
194- | ` download_to ` | ✅ | ✅ | ✅ |
195- | ` etag ` | ✅ | ✅ | ✅ |
196- | ` fspath ` | ✅ | ✅ | ✅ |
197- | ` is_junction ` | ✅ | ✅ | ✅ |
198- | ` is_valid_cloudpath ` | ✅ | ✅ | ✅ |
199- | ` rmtree ` | ✅ | ✅ | ✅ |
200- | ` upload_from ` | ✅ | ✅ | ✅ |
201- | ` validate ` | ✅ | ✅ | ✅ |
202- | ` walk ` | ✅ | ✅ | ✅ |
203- | ` with_segments ` | ✅ | ✅ | ✅ |
204- | ` blob ` | ✅ | ❌ | ✅ |
205- | ` bucket ` | ❌ | ✅ | ✅ |
206- | ` container ` | ✅ | ❌ | ❌ |
207- | ` key ` | ❌ | ✅ | ❌ |
208- | ` md5 ` | ✅ | ❌ | ✅ |
127+ | Methods + properties | ` AzureBlobPath ` | ` GSPath ` | ` HttpsPath ` | ` S3Path ` |
128+ | :-----------------------| :------------------| :-----------| :--------------| :-----------|
129+ | ` absolute ` | ✅ | ✅ | ✅ | ✅ |
130+ | ` anchor ` | ✅ | ✅ | ✅ | ✅ |
131+ | ` as_uri ` | ✅ | ✅ | ✅ | ✅ |
132+ | ` drive ` | ✅ | ✅ | ✅ | ✅ |
133+ | ` exists ` | ✅ | ✅ | ✅ | ✅ |
134+ | ` glob ` | ✅ | ✅ | ✅ | ✅ |
135+ | ` is_absolute ` | ✅ | ✅ | ✅ | ✅ |
136+ | ` is_dir ` | ✅ | ✅ | ✅ | ✅ |
137+ | ` is_file ` | ✅ | ✅ | ✅ | ✅ |
138+ | ` is_junction ` | ✅ | ✅ | ✅ | ✅ |
139+ | ` is_relative_to ` | ✅ | ✅ | ✅ | ✅ |
140+ | ` iterdir ` | ✅ | ✅ | ✅ | ✅ |
141+ | ` joinpath ` | ✅ | ✅ | ✅ | ✅ |
142+ | ` match ` | ✅ | ✅ | ✅ | ✅ |
143+ | ` mkdir ` | ✅ | ✅ | ✅ | ✅ |
144+ | ` name ` | ✅ | ✅ | ✅ | ✅ |
145+ | ` open ` | ✅ | ✅ | ✅ | ✅ |
146+ | ` parent ` | ✅ | ✅ | ✅ | ✅ |
147+ | ` parents ` | ✅ | ✅ | ✅ | ✅ |
148+ | ` parts ` | ✅ | ✅ | ✅ | ✅ |
149+ | ` read_bytes ` | ✅ | ✅ | ✅ | ✅ |
150+ | ` read_text ` | ✅ | ✅ | ✅ | ✅ |
151+ | ` relative_to ` | ✅ | ✅ | ✅ | ✅ |
152+ | ` rename ` | ✅ | ✅ | ✅ | ✅ |
153+ | ` replace ` | ✅ | ✅ | ✅ | ✅ |
154+ | ` resolve ` | ✅ | ✅ | ✅ | ✅ |
155+ | ` rglob ` | ✅ | ✅ | ✅ | ✅ |
156+ | ` rmdir ` | ✅ | ✅ | ✅ | ✅ |
157+ | ` samefile ` | ✅ | ✅ | ✅ | ✅ |
158+ | ` stat ` | ✅ | ✅ | ✅ | ✅ |
159+ | ` stem ` | ✅ | ✅ | ✅ | ✅ |
160+ | ` suffix ` | ✅ | ✅ | ✅ | ✅ |
161+ | ` suffixes ` | ✅ | ✅ | ✅ | ✅ |
162+ | ` touch ` | ✅ | ✅ | ✅ | ✅ |
163+ | ` unlink ` | ✅ | ✅ | ✅ | ✅ |
164+ | ` walk ` | ✅ | ✅ | ✅ | ✅ |
165+ | ` with_name ` | ✅ | ✅ | ✅ | ✅ |
166+ | ` with_segments ` | ✅ | ✅ | ✅ | ✅ |
167+ | ` with_stem ` | ✅ | ✅ | ✅ | ✅ |
168+ | ` with_suffix ` | ✅ | ✅ | ✅ | ✅ |
169+ | ` write_bytes ` | ✅ | ✅ | ✅ | ✅ |
170+ | ` write_text ` | ✅ | ✅ | ✅ | ✅ |
171+ | ` as_posix ` | ❌ | ❌ | ❌ | ❌ |
172+ | ` chmod ` | ❌ | ❌ | ❌ | ❌ |
173+ | ` cwd ` | ❌ | ❌ | ❌ | ❌ |
174+ | ` expanduser ` | ❌ | ❌ | ❌ | ❌ |
175+ | ` group ` | ❌ | ❌ | ❌ | ❌ |
176+ | ` hardlink_to ` | ❌ | ❌ | ❌ | ❌ |
177+ | ` home ` | ❌ | ❌ | ❌ | ❌ |
178+ | ` is_block_device ` | ❌ | ❌ | ❌ | ❌ |
179+ | ` is_char_device ` | ❌ | ❌ | ❌ | ❌ |
180+ | ` is_fifo ` | ❌ | ❌ | ❌ | ❌ |
181+ | ` is_mount ` | ❌ | ❌ | ❌ | ❌ |
182+ | ` is_reserved ` | ❌ | ❌ | ❌ | ❌ |
183+ | ` is_socket ` | ❌ | ❌ | ❌ | ❌ |
184+ | ` is_symlink ` | ❌ | ❌ | ❌ | ❌ |
185+ | ` lchmod ` | ❌ | ❌ | ❌ | ❌ |
186+ | ` lstat ` | ❌ | ❌ | ❌ | ❌ |
187+ | ` owner ` | ❌ | ❌ | ❌ | ❌ |
188+ | ` readlink ` | ❌ | ❌ | ❌ | ❌ |
189+ | ` root ` | ❌ | ❌ | ❌ | ❌ |
190+ | ` symlink_to ` | ❌ | ❌ | ❌ | ❌ |
191+ | ` as_url ` | ✅ | ✅ | ✅ | ✅ |
192+ | ` clear_cache ` | ✅ | ✅ | ✅ | ✅ |
193+ | ` client ` | ✅ | ✅ | ✅ | ✅ |
194+ | ` cloud_prefix ` | ✅ | ✅ | ✅ | ✅ |
195+ | ` copy ` | ✅ | ✅ | ✅ | ✅ |
196+ | ` copytree ` | ✅ | ✅ | ✅ | ✅ |
197+ | ` download_to ` | ✅ | ✅ | ✅ | ✅ |
198+ | ` from_uri ` | ✅ | ✅ | ✅ | ✅ |
199+ | ` fspath ` | ✅ | ✅ | ✅ | ✅ |
200+ | ` full_match ` | ✅ | ✅ | ✅ | ✅ |
201+ | ` is_valid_cloudpath ` | ✅ | ✅ | ✅ | ✅ |
202+ | ` parser ` | ✅ | ✅ | ✅ | ✅ |
203+ | ` rmtree ` | ✅ | ✅ | ✅ | ✅ |
204+ | ` upload_from ` | ✅ | ✅ | ✅ | ✅ |
205+ | ` validate ` | ✅ | ✅ | ✅ | ✅ |
206+ | ` etag ` | ✅ | ✅ | ❌ | ✅ |
207+ | ` blob ` | ✅ | ✅ | ❌ | ❌ |
208+ | ` bucket ` | ❌ | ✅ | ❌ | ✅ |
209+ | ` md5 ` | ✅ | ✅ | ❌ | ❌ |
210+ | ` container ` | ✅ | ❌ | ❌ | ❌ |
211+ | ` delete ` | ❌ | ❌ | ✅ | ❌ |
212+ | ` get ` | ❌ | ❌ | ✅ | ❌ |
213+ | ` head ` | ❌ | ❌ | ✅ | ❌ |
214+ | ` key ` | ❌ | ❌ | ❌ | ✅ |
215+ | ` parsed_url ` | ❌ | ❌ | ✅ | ❌ |
216+ | ` post ` | ❌ | ❌ | ✅ | ❌ |
217+ | ` put ` | ❌ | ❌ | ✅ | ❌ |
209218
210219----
211220
0 commit comments