MCPcopy Create free account
hub / github.com/catboost/catboost / yfts_set

Function yfts_set

util/folder/fts.cpp:666–676  ·  view source on GitHub ↗

* Fts_set takes the stream as an argument although it's not used in this * implementation; it would be necessary if anyone wanted to add global * semantics to fts using yfts_set. An error return is allowed for similar * reasons. */ ARGSUSED */

Source from the content-addressed store, hash-verified

664 */
665/* ARGSUSED */
666int yfts_set(FTS* sp, FTSENT* p, int instr)
667{
668 (void)sp; //Unused
669 if (instr && instr != FTS_AGAIN && instr != FTS_FOLLOW &&
670 instr != FTS_NOINSTR && instr != FTS_SKIP) {
671 errno = EINVAL;
672 return (1);
673 }
674 p->fts_instr = (u_short)instr;
675 return (0);
676}
677
678FTSENT*
679yfts_children(FTS* sp, int instr)

Callers 2

NextMethod · 0.85
SkipMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected