Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/GitbookIO/gitbook
/ increment
Function
increment
lib/modifiers/summary/moveArticleAfter.js:54–58 ·
view source on GitHub ↗
(level)
Source
from the content-addressed store, hash-verified
52
}
53
54
function
increment(level) {
55
level = levelToArray(level);
56
level[level.length - 1]++;
57
return
arrayToLevel(level);
58
}
59
60
module.exports = moveArticleAfter;
Callers
1
moveArticleAfter
Function · 0.85
Calls
2
levelToArray
Function · 0.85
arrayToLevel
Function · 0.85
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…