MCPcopy Create free account
hub / github.com/awslabs/aws-lambda-cpp / stat

Class stat

tests/runtime_tests.cpp:98–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 create_function_request.SetRole(get_role_arn(exec_role));
97
98 struct stat s;
99 auto rc = stat(ZIP_FILE_PATH, &s);
100 ASSERT_EQ(rc, 0) << std::string("file does not exist: ") + ZIP_FILE_PATH;
101 Aws::Utils::CryptoBuffer zip_file_bytes(s.st_size);

Callers 1

create_functionMethod · 0.70

Calls

no outgoing calls

Tested by 1

create_functionMethod · 0.56