MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / IsAbsolutePath

Function IsAbsolutePath

tensorflow/core/lib/io/path.cc:131–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129} // namespace internal
130
131bool IsAbsolutePath(StringPiece path) {
132 return !path.empty() && path[0] == '/';
133}
134
135StringPiece Dirname(StringPiece path) {
136 return internal::SplitPath(path).first;

Callers 2

JoinPathImplFunction · 0.70
TESTFunction · 0.70

Calls 1

emptyMethod · 0.45

Tested by 1

TESTFunction · 0.56