On Fri, Mar 21, 2014 at 1:45 PM, Junio C Hamano <gits...@pobox.com> wrote:
> Brian Bourn <ba.bo...@gmail.com> writes:
>> Something like this?
>> Sample api calls
>> (each of the 4 calls above may have internal calls within the library
>> in order to parse the option for each of the different function which
>> may call these functions)
> This list is a bit too sketchy to be called "sample api calls", at
> least to me. Can you elaborate a bit more?
> What do they do, what does the caller expect to see (do they get
> something as return values? do they expect some side effects?)?
so something like this would be better I'm assuming?
Some basic sample API calls are found below, each of these would hold
code to complete parsing and/or formatting the flags.
Add_Opt_Group() - returns an OPT_CALLBACK with contains, merged,
no-merged, or formatting which can be used in a commands options list.
Execute_list()-the main call into the library and would pass into the
library all of the necessary flags and arguments for parsing the
request and executing it. This would accept the flags like
-contain, with arguments such as the commit or pattern that is being
The next four commands would be called by execute_list() to execute
the original command with respect to the flags that are passed into
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html