balooshow allows to query file information by document id, e.g.
balooshow 12345678. In case the file is not indexed,
Transaction::documentUrl(fid) returns an empty url, and the lookup
Baloo::filePathToId("") returns 0. Don't print a misleading warning,
just state the file is not indexed.
Details
Details
- Reviewers
ngraham astippich poboiko - Group Reviewers
Baloo Frameworks - Commits
- R293:e05514aa6469: [balooshow] Do not print a bogus warning for a non-indexed file
balooshow <unindexed-file-id>
Diff Detail
Diff Detail
- Repository
- R293 Baloo
- Branch
- kio_search
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 10543 Build 10561: arc lint + arc unit
src/tools/balooshow/main.cpp | ||
---|---|---|
139 | Why were all these spaces after the colons removed? |
src/tools/balooshow/main.cpp | ||
---|---|---|
139 | confused this with a debug stream ... |
Comment Actions
only one minor nitpick
src/tools/balooshow/main.cpp | ||
---|---|---|
136 | Also add a space here after "Url:"? |
src/tools/balooshow/main.cpp | ||
---|---|---|
136 | Yes, will add it. |