MCPcopy Create free account
hub / github.com/apple/foundationdb / isInteger

Function isInteger

fdbclient/ManagementAPI.actor.cpp:49–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47#include "flow/actorcompiler.h" // This must be the last #include.
48
49bool isInteger(const std::string& s) {
50 if (s.empty())
51 return false;
52 char* p;
53 strtol(s.c_str(), &p, 10);
54 return (*p == 0);
55}
56
57// Defines the mapping between configuration names (as exposed by fdbcli, buildConfiguration()) and actual configuration
58// parameters

Callers 1

configForTokenFunction · 0.85

Calls 2

emptyMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected