mdn-translation-ja-mcp
Preparing search index...
commit-get/source-commit-set
runMdnTransSourceCommitSet
Function runMdnTransSourceCommitSet
runMdnTransSourceCommitSet
(
options
:
{
url
:
string
;
dryRun
?:
boolean
;
packageRoot
?:
string
;
gitLog
?:
{
(
file
:
string
)
:
PromiseWithChild
<
{
stdout
:
string
;
stderr
:
string
}
>
;
(
file
:
string
,
args
:
readonly
string
[]
|
null
|
undefined
,
)
:
PromiseWithChild
<
{
stdout
:
string
;
stderr
:
string
}
>
;
(
file
:
string
,
options
:
ExecFileOptionsWithBufferEncoding
,
)
:
PromiseWithChild
<
{
stdout
:
NonSharedBuffer
;
stderr
:
NonSharedBuffer
}
>
;
(
file
:
string
,
args
:
readonly
string
[]
|
null
|
undefined
,
options
:
ExecFileOptionsWithBufferEncoding
,
)
:
PromiseWithChild
<
{
stdout
:
NonSharedBuffer
;
stderr
:
NonSharedBuffer
}
>
;
(
file
:
string
,
options
:
ExecFileOptionsWithStringEncoding
,
)
:
PromiseWithChild
<
{
stdout
:
string
;
stderr
:
string
}
>
;
(
file
:
string
,
args
:
readonly
string
[]
|
null
|
undefined
,
options
:
ExecFileOptionsWithStringEncoding
,
)
:
PromiseWithChild
<
{
stdout
:
string
;
stderr
:
string
}
>
;
(
file
:
string
,
options
:
ExecFileOptions
|
null
|
undefined
,
)
:
PromiseWithChild
<
{
stdout
:
string
|
NonSharedBuffer
;
stderr
:
string
|
NonSharedBuffer
;
}
,
>
;
(
file
:
string
,
args
:
readonly
string
[]
|
null
|
undefined
,
options
:
ExecFileOptions
|
null
|
undefined
,
)
:
PromiseWithChild
<
{
stdout
:
string
|
NonSharedBuffer
;
stderr
:
string
|
NonSharedBuffer
;
}
,
>
;
}
;
}
,
)
:
Promise
<
MdnTransSourceCommitSetResult
>
既存の日本語翻訳ファイルに
l10n.sourceCommit
を設定する。
Parameters
options
:
{
url
:
string
;
dryRun
?:
boolean
;
packageRoot
?:
string
;
gitLog
?:
{
(
file
:
string
)
:
PromiseWithChild
<
{
stdout
:
string
;
stderr
:
string
}
>
;
(
file
:
string
,
args
:
readonly
string
[]
|
null
|
undefined
,
)
:
PromiseWithChild
<
{
stdout
:
string
;
stderr
:
string
}
>
;
(
file
:
string
,
options
:
ExecFileOptionsWithBufferEncoding
,
)
:
PromiseWithChild
<
{
stdout
:
NonSharedBuffer
;
stderr
:
NonSharedBuffer
}
>
;
(
file
:
string
,
args
:
readonly
string
[]
|
null
|
undefined
,
options
:
ExecFileOptionsWithBufferEncoding
,
)
:
PromiseWithChild
<
{
stdout
:
NonSharedBuffer
;
stderr
:
NonSharedBuffer
}
>
;
(
file
:
string
,
options
:
ExecFileOptionsWithStringEncoding
,
)
:
PromiseWithChild
<
{
stdout
:
string
;
stderr
:
string
}
>
;
(
file
:
string
,
args
:
readonly
string
[]
|
null
|
undefined
,
options
:
ExecFileOptionsWithStringEncoding
,
)
:
PromiseWithChild
<
{
stdout
:
string
;
stderr
:
string
}
>
;
(
file
:
string
,
options
:
ExecFileOptions
|
null
|
undefined
,
)
:
PromiseWithChild
<
{
stdout
:
string
|
NonSharedBuffer
;
stderr
:
string
|
NonSharedBuffer
}
,
>
;
(
file
:
string
,
args
:
readonly
string
[]
|
null
|
undefined
,
options
:
ExecFileOptions
|
null
|
undefined
,
)
:
PromiseWithChild
<
{
stdout
:
string
|
NonSharedBuffer
;
stderr
:
string
|
NonSharedBuffer
}
,
>
;
}
;
}
実行オプション
Returns
Promise
<
MdnTransSourceCommitSetResult
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
mdn-translation-ja-mcp
Loading...
既存の日本語翻訳ファイルに
l10n.sourceCommitを設定する。