mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 Support ignore search results https://github.com/siyuan-note/siyuan/issues/10089
This commit is contained in:
parent
2aefead3f0
commit
2ad1662877
2 changed files with 125 additions and 0 deletions
|
|
@ -517,6 +517,8 @@ var (
|
|||
)
|
||||
|
||||
func getIndexIgnoreLines() (ret []string) {
|
||||
// Support ignore index https://github.com/siyuan-note/siyuan/issues/9198
|
||||
|
||||
now := time.Now().UnixMilli()
|
||||
if now-indexIgnoreLastModified < 30*1000 {
|
||||
return indexIgnore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue