volcengine / tosfs

Pythonic file-system interface for TOS(Tinder Object Storage)
Apache License 2.0
2 stars 0 forks source link

Override fssepc#exists default implementation to optimize performance #18

Closed yanghua closed 3 days ago

yanghua commented 1 month ago

Is your feature request related to a problem? Please describe. The default implementation of fsspec#exists utilizes the info object, while the default info API lists the parent, presenting significant performance risks and a rather convoluted implementation. TOS provides an interface for directly obtaining the metadata of a specific object, and this API can be directly used for implementation.

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

yanghua commented 3 days ago

19