mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: change f mut Foo to mut f Foo
This commit is contained in:
@@ -127,7 +127,7 @@ pub fn (mut m TestMessageHandler) display_message() {
|
||||
}
|
||||
}
|
||||
|
||||
fn worker_trunner(p mut sync.PoolProcessor, idx int, thread_id int) voidptr {
|
||||
fn worker_trunner(mut p sync.PoolProcessor, idx int, thread_id int) voidptr {
|
||||
mut ts := &TestSession(p.get_shared_context())
|
||||
defer { ts.message_handler.display_message() }
|
||||
tmpd := os.temp_dir()
|
||||
|
||||
@@ -142,7 +142,7 @@ pub mut:
|
||||
verbose bool // should the tool be much more verbose
|
||||
}
|
||||
|
||||
pub fn add_common_tool_options(context mut VGitOptions, fp mut flag.FlagParser) []string {
|
||||
pub fn add_common_tool_options(mut context VGitOptions, mut fp flag.FlagParser) []string {
|
||||
tdir := os.temp_dir()
|
||||
context.workdir = os.real_path(fp.string('workdir', `w`, tdir, 'A writable base folder. Default: $tdir'))
|
||||
context.v_repo_url = fp.string('vrepo', 0, vgit.remote_v_repo_url, 'The url of the V repository. You can clone it locally too. See also --vcrepo below.')
|
||||
|
||||
Reference in New Issue
Block a user