oras-project / oras-go

ORAS Go library
https://oras.land
Apache License 2.0
172 stars 94 forks source link

add exported function to get the path of a DynamicStore's underlying config file #676

Closed qweeah closed 7 months ago

qweeah commented 8 months ago

DynamicStore dynamically determines which store to use based on the settings in a config file. Currently there is no way to get the config file path from caller side.

Suggest adding a function to obtain the path, which will be helpful for ORAS CLI implementation of https://github.com/oras-project/oras/issues/1236.