MCPcopy
hub / github.com/NVIDIA/aistore / LoadMeta

Function LoadMeta

cmn/jsp/file.go:73–75  ·  view source on GitHub ↗
(filepath string, meta Opts)

Source from the content-addressed store, hash-verified

71}
72
73func LoadMeta(filepath string, meta Opts) (*cos.Cksum, error) {
74 return Load(filepath, meta, meta.JspOpts())
75}
76
77func Load(filepath string, v interface{}, opts Options) (checksum *cos.Cksum, err error) {
78 var file *os.File

Callers 15

LoadConfigFunction · 0.92
loadOverrideConfigFunction · 0.92
loadClusterConfigV1Function · 0.92
TestConfigFSPathsFunction · 0.92
loadMethod · 0.92
mainFunction · 0.92
extractMetaFunction · 0.92
LoadTokenFunction · 0.92
initMethod · 0.92
loadEtlMDFromMpathFunction · 0.92
loadMethod · 0.92
loadMethod · 0.92

Calls 2

LoadFunction · 0.70
JspOptsMethod · 0.65

Tested by 2

TestConfigFSPathsFunction · 0.74
killRestoreDiffIPFunction · 0.74