🛰️航天仿真算法库 SpaceAST 0.3.1
载入中...
搜索中...
未找到
DownloadLfs.hpp
浏览该文件的文档.
1
22
23#pragma once
24
25#include "AstGlobal.h"
26#include "AstUtil/StringView.hpp"
27#include <string>
28#include <cstddef>
29
30AST_NAMESPACE_BEGIN
31
40{
41 std::string oid{};
42 std::size_t size = 0;
43};
44
53AST_UTIL_API errc_t aLfsParsePointer(StringView pointerText, LfsPointerInfo& info);
54
62AST_UTIL_API std::string aLfsEndpoint(StringView remoteUrl);
63
70AST_UTIL_API std::string aLfsBatchRequestBody(StringView oid, std::size_t size);
71
80AST_UTIL_CAPI errc_t aDownloadLfs(StringView pointerFile, StringView outputFile, StringView remoteUrl);
81
84AST_NAMESPACE_END
std::string aLfsBatchRequestBody(StringView oid, std::size_t size)
定义 DownloadLfs.cpp:144
errc_t aDownloadLfs(StringView pointerFile, StringView outputFile, StringView remoteUrl)
定义 DownloadLfs.cpp:169
errc_t aLfsParsePointer(StringView pointerText, LfsPointerInfo &info)
定义 DownloadLfs.cpp:100
std::string aLfsEndpoint(StringView remoteUrl)
定义 DownloadLfs.cpp:135
定义 DownloadLfs.hpp:40