MCPcopy Create free account
hub / github.com/clice-io/clice / add_command

Method add_command

src/command/command.cpp:568–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

566 id == option::OPT_working_directory || id == option::OPT_working_directory_EQ;
567 for(auto& value: local.values) {
568 value = anchored(id, value, working ? directory : anchor, strings).data();
569 }
570
571 args.push_back(std::move(local));
572 }
573
574 if(!slot_placed) {
575 place_slot();
576 }
577
578 /// Build the pointer-stable Arg view over the staging storage; the
579 /// values arrays are deep-persisted only if the config wins insertion.

Callers 4

EXPECT_STRIPFunction · 0.80
TEST_CASEFunction · 0.80
prepare_driverMethod · 0.80
TEST_CASEFunction · 0.80

Calls 1

internMethod · 0.80

Tested by 4

EXPECT_STRIPFunction · 0.64
TEST_CASEFunction · 0.64
prepare_driverMethod · 0.64
TEST_CASEFunction · 0.64