|
|
|
|
|
|
|
|
fs::path repository::default_local_path() noexcept { return dds_data_dir() / "repo"; } |
|
|
fs::path repository::default_local_path() noexcept { return dds_data_dir() / "repo"; } |
|
|
|
|
|
|
|
|
repository repository::_open_for_directory(bool writeable, path_ref dirpath) { |
|
|
repository repository::_open_for_directory(bool writeable, path_ref dirpath) { |
|
|
auto dist_dir = dirpath; |
|
|
|
|
|
auto entries = load_sdists(dirpath) | to<sdist_set>; |
|
|
|
|
|
|
|
|
sdist_set entries = load_sdists(dirpath) | to<sdist_set>(); |
|
|
return {writeable, dirpath, std::move(entries)}; |
|
|
return {writeable, dirpath, std::move(entries)}; |
|
|
} |
|
|
} |
|
|
|
|
|
|