MCPcopy Create free account
hub / github.com/celer-pkg/celer / RootFS

Struct RootFS

configs/rootfs.go:15–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13)
14
15type RootFS struct {
16 Url string `toml:"url"` // Download url.
17 SHA256 string `toml:"sha256"` // SHA256 of the toolchain archive, used for verification and caching.
18 Archive string `toml:"archive,omitempty"` // Archive can be changed to avoid conflict.
19 Path string `toml:"path"` // Runtime path of tool, it's relative path and would be converted to absolute path later.
20 PkgConfigPath []string `toml:"pkg_config_path"`
21 IncludeDirs []string `toml:"include_dirs"`
22 LibDirs []string `toml:"lib_dirs"`
23
24 // Internal fields.
25 ctx context.Context
26 abspath string
27}
28
29func (r *RootFS) Validate() error {
30 // Validate rootfs download url.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected