FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
git2cpp/src/wasm/scope.cpp at main · QuantStack/git2cpp · GitHub
QuantStack
git2cpp
Repository navigation
Code
Issues
6
(6)
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
git2cpp
/
src
/
wasm
/
scope.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (18 loc) · 471 Bytes
Breadcrumbs
git2cpp
/
src
/
wasm
/
scope.cpp
Copy path
File metadata and controls
21 lines (18 loc) · 471 Bytes
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
#
include
"
scope.hpp
"
#
ifdef
EMSCRIPTEN
#
include
"
transport.hpp
"
#
endif
wasm_http_transport_scope::wasm_http_transport_scope
()
{
#
ifdef
EMSCRIPTEN
git_transport_register
(
"
http
"
, create_wasm_http_transport,
nullptr
);
git_transport_register
(
"
https
"
, create_wasm_http_transport,
nullptr
);
#
endif
}
wasm_http_transport_scope::~wasm_http_transport_scope
()
{
#
ifdef
EMSCRIPTEN
git_transport_unregister
(
"
http
"
);
git_transport_unregister
(
"
https
"
);
#
endif
}
Back
|
FazBrowse Home
|
New Git URL