Sign in
vanadium
/
release.projects.pipe2browser
/
d3e903d107377358072036a502089e4dc9dd837f
/
.
/
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
;
};