FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
mcpp/src/fetcher.cppm at main · mcpp-community/mcpp · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
mcpp-community
/
mcpp
Public
Notifications
You must be signed in to change notification settings
Fork
12
Star
109
Code
Issues
37
Pull requests
8
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
mcpp
/
src
/
fetcher.cppm
Copy path
More file actions
More file actions
Latest commit
History
History
History
35 lines (30 loc) · 1.33 KB
Breadcrumbs
mcpp
/
src
/
fetcher.cppm
Copy path
File metadata and controls
35 lines (30 loc) · 1.33 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
mcpp.fetcher — backward-compat shim. The implementation has moved
//
to `mcpp.pm.package_fetcher` as part of the package-management
//
subsystem refactor (PR-R3 in
//
`.agents/docs/2026-05-08-pm-subsystem-architecture.md`).
//
//
All existing call sites continue to use `mcpp::fetcher::Fetcher`,
//
`mcpp::fetcher::EventHandler`, etc. — the aliases below resolve those
//
to the new `mcpp::pm` types. The shim disappears once `cli.cppm`
//
migrates to the `mcpp::pm::` qualified names directly.
//
//
(The architecture doc's "split into index_repo + index_store +
//
package_fetcher" is reserved for the index-config feature work; the
//
current `fetcher.cppm` body is a single xlings NDJSON client and
//
stays a single module here.)
export
module
mcpp.fetcher;
import
std;
export
import
mcpp.pm.package_fetcher;
export
namespace
mcpp
::fetcher {
using
EventKind = mcpp::pm::EventKind;
using
ProgressEvent = mcpp::pm::ProgressEvent;
using
LogEvent = mcpp::pm::LogEvent;
using
DataEvent = mcpp::pm::DataEvent;
using
ErrorEvent = mcpp::pm::ErrorEvent;
using
ResultEvent = mcpp::pm::ResultEvent;
using
Event = mcpp::pm::Event;
using
EventHandler = mcpp::pm::EventHandler;
using
CallError = mcpp::pm::CallError;
using
CallResult = mcpp::pm::CallResult;
using
Fetcher = mcpp::pm::Fetcher;
}
//
namespace mcpp::fetcher
Back
|
FazBrowse Home
|
New Git URL