bialy-dataset / coderank /dumps /project_search-docs-cobra.jsonl
paintedwolf-ai's picture
Release open1-b5-e4-bialy
24918f7 verified
Raw History Blame Contribute Delete
9.38 kB
{"site":"project_search","repo":"cobra","task":"returns the name of the program-specific ActiveHelp environment variable.","query":"returns name program","file":"active_help.go","symbol":"activeHelpEnvVar","line":58,"lang":"en","candidates":[{"text":"File: active_help.go\nLine 55: // activeHelpEnvVar returns the name of the program-specific ActiveHelp environment","file":"active_help.go","line":55,"lexical":0.44999999999999996,"target":true},{"text":"File: completions.go\nLine 1003: // configEnvVar returns the name of the program-specific configuration environment","file":"completions.go","line":1003,"lexical":0.44999999999999996,"target":false}]}
{"site":"project_search","repo":"cobra","task":"sets the passed functions to be run when each command's Execute method is called.","query":"sets passed functions","file":"cobra.go","symbol":"OnInitialize","line":99,"lang":"en","candidates":[{"text":"File: cobra.go\nLine 97: // OnInitialize sets the passed functions to be run when each command's","file":"cobra.go","line":97,"lexical":0.44999999999999996,"target":true},{"text":"File: cobra.go\nLine 103: // OnFinalize sets the passed functions to be run when each command's","file":"cobra.go","line":103,"lexical":0.44999999999999996,"target":false}]}
{"site":"project_search","repo":"cobra","task":"sets the passed functions to be run when each command's Execute method is terminated.","query":"sets passed functions","file":"cobra.go","symbol":"OnFinalize","line":105,"lang":"en","candidates":[{"text":"File: cobra.go\nLine 97: // OnInitialize sets the passed functions to be run when each command's","file":"cobra.go","line":97,"lexical":0.44999999999999996,"target":true},{"text":"File: cobra.go\nLine 103: // OnFinalize sets the passed functions to be run when each command's","file":"cobra.go","line":103,"lexical":0.44999999999999996,"target":false}]}
{"site":"project_search","repo":"cobra","task":"takes two types and checks whether the first type is greater than the second.","query":"takes types checks","file":"cobra.go","symbol":"Gt","line":114,"lang":"en","candidates":[{"text":"File: cobra.go\nLine 111: // Gt takes two types and checks whether the first type is greater than the second. In case of types Arrays, Chans,","file":"cobra.go","line":111,"lexical":0.44999999999999996,"target":true},{"text":"File: cobra.go\nLine 143: // Eq takes two types and checks whether they are equal. Supported types are int and string. Unsupported types will panic.","file":"cobra.go","line":143,"lexical":0.44999999999999996,"target":false}]}
{"site":"project_search","repo":"cobra","task":"takes two types and checks whether they are equal.","query":"takes types checks","file":"cobra.go","symbol":"Eq","line":144,"lang":"en","candidates":[{"text":"File: cobra.go\nLine 111: // Gt takes two types and checks whether the first type is greater than the second. In case of types Arrays, Chans,","file":"cobra.go","line":111,"lexical":0.44999999999999996,"target":true},{"text":"File: cobra.go\nLine 143: // Eq takes two types and checks whether they are equal. Supported types are int and string. Unsupported types will panic.","file":"cobra.go","line":143,"lexical":0.44999999999999996,"target":false}]}
{"site":"project_search","repo":"cobra","task":"sets the destination for usage and error messages.","query":"sets destination usage","file":"command.go","symbol":"SetOutput","line":289,"lang":"en","candidates":[{"text":"File: command.go\nLine 285: // SetOutput sets the destination for usage and error messages.","file":"command.go","line":285,"lexical":0.44999999999999996,"target":true},{"text":"File: command.go\nLine 294: // SetOut sets the destination for usage messages.","file":"command.go","line":294,"lexical":0.44999999999999996,"target":false}]}
{"site":"project_search","repo":"cobra","task":"sets the destination for usage messages.","query":"sets destination usage","file":"command.go","symbol":"SetOut","line":296,"lang":"en","candidates":[{"text":"File: command.go\nLine 285: // SetOutput sets the destination for usage and error messages.","file":"command.go","line":285,"lexical":0.44999999999999996,"target":true},{"text":"File: command.go\nLine 294: // SetOut sets the destination for usage messages.","file":"command.go","line":294,"lexical":0.44999999999999996,"target":false}]}
{"site":"project_search","repo":"cobra","task":"sets the destination for error messages.","query":"sets destination error","file":"command.go","symbol":"SetErr","line":302,"lang":"en","candidates":[{"text":"File: command.go\nLine 285: // SetOutput sets the destination for usage and error messages.","file":"command.go","line":285,"lexical":0.44999999999999996,"target":true},{"text":"File: command.go\nLine 300: // SetErr sets the destination for error messages.","file":"command.go","line":300,"lexical":0.44999999999999996,"target":false}]}
{"site":"project_search","repo":"cobra","task":"indicates that only directory names should be provided in file completion.","query":"indicates that only","file":"completions.go","symbol":"ShellCompDirectiveFilterDirs","line":80,"lang":"en","candidates":[{"text":"File: completions.go\nLine 75: // ShellCompDirectiveFilterDirs indicates that only directory names should","file":"completions.go","line":75,"lexical":0.44999999999999996,"target":true},{"text":"File: site/content/completions/_index.md\nLine 221: // Indicates that only directory names should be provided in file completion.","file":"site/content/completions/_index.md","line":221,"lexical":0.44999999999999996,"target":false}]}
{"site":"project_search","repo":"cobra","task":"can be used to create a completion function which always returns the same results.","query":"used create completion","file":"completions.go","symbol":"FixedCompletions","line":160,"lang":"en","candidates":[{"text":"File: completions.go\nLine 133: // [CompletionWithDesc] can be used to create a completion string with a textual description.","file":"completions.go","line":133,"lexical":0.65,"target":true},{"text":"File: completions.go\nLine 155: // FixedCompletions can be used to create a completion function which always","file":"completions.go","line":155,"lexical":0.65,"target":false}]}
{"site":"project_search","repo":"cobra","task":"prints the specified string to the same file as where the completion script prints its logs.","query":"prints specified string","file":"completions.go","symbol":"CompDebug","line":955,"lang":"en","candidates":[{"text":"File: completions.go\nLine 951: // CompDebug prints the specified string to the same file as where the","file":"completions.go","line":951,"lexical":0.44999999999999996,"target":true},{"text":"File: completions.go\nLine 976: // CompDebugln prints the specified string with a newline at the end","file":"completions.go","line":976,"lexical":0.44999999999999996,"target":false}]}
{"site":"project_search","repo":"cobra","task":"prints the specified string with a newline at the end to the same file as where the completion script prints its logs.","query":"prints specified string","file":"completions.go","symbol":"CompDebugln","line":980,"lang":"en","candidates":[{"text":"File: completions.go\nLine 951: // CompDebug prints the specified string to the same file as where the","file":"completions.go","line":951,"lexical":0.44999999999999996,"target":true},{"text":"File: completions.go\nLine 976: // CompDebugln prints the specified string with a newline at the end","file":"completions.go","line":976,"lexical":0.44999999999999996,"target":false}]}
{"site":"project_search","repo":"cobra","task":"prints the specified completion message to stderr.","query":"prints specified completion","file":"completions.go","symbol":"CompError","line":985,"lang":"en","candidates":[{"text":"File: completions.go\nLine 984: // CompError prints the specified completion message to stderr.","file":"completions.go","line":984,"lexical":0.65,"target":true},{"text":"File: completions.go\nLine 990: // CompErrorln prints the specified completion message to stderr with a newline at the end.","file":"completions.go","line":990,"lexical":0.65,"target":false}]}
{"site":"project_search","repo":"cobra","task":"prints the specified completion message to stderr with a newline at the end.","query":"prints specified completion","file":"completions.go","symbol":"CompErrorln","line":991,"lang":"en","candidates":[{"text":"File: completions.go\nLine 984: // CompError prints the specified completion message to stderr.","file":"completions.go","line":984,"lexical":0.65,"target":true},{"text":"File: completions.go\nLine 990: // CompErrorln prints the specified completion message to stderr with a newline at the end.","file":"completions.go","line":990,"lexical":0.65,"target":false}]}
{"site":"project_search","repo":"cobra","task":"returns the name of the program-specific configuration environment variable.","query":"returns name program","file":"completions.go","symbol":"configEnvVar","line":1006,"lang":"en","candidates":[{"text":"File: active_help.go\nLine 55: // activeHelpEnvVar returns the name of the program-specific ActiveHelp environment","file":"active_help.go","line":55,"lexical":0.44999999999999996,"target":false},{"text":"File: completions.go\nLine 1003: // configEnvVar returns the name of the program-specific configuration environment","file":"completions.go","line":1003,"lexical":0.44999999999999996,"target":true}]}