Sign in
vanadium
/
release.projects.pipe2browser
/
de93aafb5aaedcbd743653a3eaad4ea85ded4bda
/
.
/
browser
/
pipe-viewers
/
builtin
/
git
/
status
/
searcher.js
blob: 204bb926af16183c0ff238306924a2362f8f2ad0 [
file
] [
log
] [
blame
]
export
function
gitStatusSearch
(
item
,
keyword
)
{
if
(!
keyword
)
{
return
true
;
}
// we only search file
if
(
item
.
file
.
indexOf
(
keyword
)
>=
0
)
{
return
true
}
return
false
;
};