|
🛰️航天仿真算法库 SpaceAST 0.3.1
|
#include "DownloadLfs.hpp"#include "Network.hpp"#include "AstUtil/JsonValue.hpp"#include "AstUtil/FileSystem.hpp"#include "AstUtil/Logger.hpp"#include "AstUtil/StringUtil.hpp"#include "AstUtil/FileStream.hpp"#include <fstream>#include <sstream>#include <iterator>#include <cstdlib>#include <string>#include <system_error>命名空间 | |
| namespace | ast |
函数 | |
| errc_t | ast::aLfsParsePointer (StringView pointerText, LfsPointerInfo &info) |
| std::string | ast::aLfsEndpoint (StringView remoteUrl) |
| std::string | ast::aLfsBatchRequestBody (StringView oid, std::size_t size) |
| errc_t | ast::aDownloadLfs (StringView pointerFile, StringView outputFile, StringView remoteUrl) |
Git LFS 对象下载实现
~
SpaceAST项目(https://github.com/space-ast/ast) 本软件基于 Apache 2.0 开源许可证分发。 您可在遵守许可证条款的前提下使用、修改和分发本软件。 许可证全文请见:
http://www.apache.org/licenses/LICENSE-2.0
重要须知: 软件按"现有状态"提供,无任何明示或暗示的担保条件。 除非法律要求或书面同意,作者与贡献者不承担任何责任。 使用本软件所产生的风险,需由您自行承担。