From d112b81869e80e1e5caacba1e979cb9eb3af8650 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Tue, 5 Dec 2023 21:06:54 +0800 Subject: [PATCH] :art: Improve file read/write locking https://github.com/siyuan-note/siyuan/issues/9748 --- kernel/go.mod | 4 ++-- kernel/go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/go.mod b/kernel/go.mod index b9a434163..3d3c0fd4e 100644 --- a/kernel/go.mod +++ b/kernel/go.mod @@ -50,10 +50,10 @@ require ( github.com/rqlite/sql v0.0.0-20221103124402-8f9ff0ceb8f0 github.com/sashabaranov/go-openai v1.17.9 github.com/shirou/gopsutil/v3 v3.23.10 - github.com/siyuan-note/dejavu v0.0.0-20231205094504-163c30e1fc73 + github.com/siyuan-note/dejavu v0.0.0-20231205130506-f108e3e9e55b github.com/siyuan-note/encryption v0.0.0-20220713091850-5ecd92177b75 github.com/siyuan-note/eventbus v0.0.0-20230804030110-cf250f838c80 - github.com/siyuan-note/filelock v0.0.0-20231205094230-68ac1f62dabf + github.com/siyuan-note/filelock v0.0.0-20231205130315-1fc852fc9fb1 github.com/siyuan-note/httpclient v0.0.0-20231120083123-750db4d28b38 github.com/siyuan-note/logging v0.0.0-20231030034701-8265764f00ff github.com/siyuan-note/riff v0.0.0-20231128081053-0cd7a5fa0076 diff --git a/kernel/go.sum b/kernel/go.sum index c69dbaa38..533471714 100644 --- a/kernel/go.sum +++ b/kernel/go.sum @@ -356,14 +356,14 @@ github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFR github.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d h1:lvCTyBbr36+tqMccdGMwuEU+hjux/zL6xSmf5S9ITaA= github.com/shurcooL/gofontwoff v0.0.0-20181114050219-180f79e6909d/go.mod h1:05UtEgK5zq39gLST6uB0cf3NEHjETfB4Fgr3Gx5R9Vw= github.com/simplereach/timeutils v1.2.0/go.mod h1:VVbQDfN/FHRZa1LSqcwo4kNZ62OOyqLLGQKYB3pB0Q8= -github.com/siyuan-note/dejavu v0.0.0-20231205094504-163c30e1fc73 h1:SMSb1Sw9xkfNcfkysyIiywKbbKkCC0KaiLpsNSfYbeg= -github.com/siyuan-note/dejavu v0.0.0-20231205094504-163c30e1fc73/go.mod h1:6rxqaGLUKJ+8ZVBhJrxo3IjfOeeSgN0VmfS73roU8/A= +github.com/siyuan-note/dejavu v0.0.0-20231205130506-f108e3e9e55b h1:Fe8/MKezRTaq7/8k0O8TGtopAuAW6Sxz0d1WjTylry4= +github.com/siyuan-note/dejavu v0.0.0-20231205130506-f108e3e9e55b/go.mod h1:5r1o1fbWam7+QaIHdbMhRhWTdxOemmxiNw1y7bjKHfc= github.com/siyuan-note/encryption v0.0.0-20220713091850-5ecd92177b75 h1:Bi7/7f29LW+Fm0cHc0J1NO1cZqyJwljSWVmfOqVZgaE= github.com/siyuan-note/encryption v0.0.0-20220713091850-5ecd92177b75/go.mod h1:H8fyqqAbp9XreANjeSbc72zEdFfKTXYN34tc1TjZwtw= github.com/siyuan-note/eventbus v0.0.0-20230804030110-cf250f838c80 h1:XghjHKJd+SiL0DkGYFVC+UGUDFtnR4v9gkAbPeh9Eq8= github.com/siyuan-note/eventbus v0.0.0-20230804030110-cf250f838c80/go.mod h1:Sqo4FYX5lAXu7gWkbEdJF0e6P57tNNVV4WDKYDctokI= -github.com/siyuan-note/filelock v0.0.0-20231205094230-68ac1f62dabf h1:Uv0ySSkICiS+6zZTKtD2keNT4TSQTgkWyaAbYlRr5+k= -github.com/siyuan-note/filelock v0.0.0-20231205094230-68ac1f62dabf/go.mod h1:4teUA+79ESPDbagztng2dJfyv66pGrri5ldGJQG/saI= +github.com/siyuan-note/filelock v0.0.0-20231205130315-1fc852fc9fb1 h1:PW8T17xlL7MQ7erZi0alO5ehBpF0WtLk/kTAtJ4fhAg= +github.com/siyuan-note/filelock v0.0.0-20231205130315-1fc852fc9fb1/go.mod h1:4teUA+79ESPDbagztng2dJfyv66pGrri5ldGJQG/saI= github.com/siyuan-note/httpclient v0.0.0-20231120083123-750db4d28b38 h1:deUrbUOwmsNYRT0x12GHaJ8exxmDMwXFL/1J4dVnLMM= github.com/siyuan-note/httpclient v0.0.0-20231120083123-750db4d28b38/go.mod h1:QOTSBBSeKU90Kb4aeDVcQ0G+2zJcNuhkwAlsJ2cnmkQ= github.com/siyuan-note/logging v0.0.0-20231030034701-8265764f00ff h1:5GcxrTOJTsusXOLhg4GuHWbEa4M5gu+CNfL0giwNjDM=