[FOLD] Mark checkPath const