!T1aijHWwdv01p7Mg:aos.dev

go-storage

50 Members
3 Servers

Load older messages


SenderMessageTime
19 Nov 2021
@zhangjiayu:matrix.orgJoey直接就返回了08:26:19
@zhangjiayu:matrix.orgJoeystat初始化写入的path直接就没有创建成功08:26:42
@zhangjiayu:matrix.orgJoey * SetupTest初始化写入的path直接就没有创建成功08:27:56
@jinny1226:matrix.orgJinny初始化的时候创建workdir,makeDir可以改成忽略目录已存在的错误?08:36:40
@zhangjiayu:matrix.orgJoey我改成那样过了08:37:06
@zhangjiayu:matrix.orgJoey不对08:37:13
@zhangjiayu:matrix.orgJoey我是检查了一下是否有,有就跳过创建的步骤08:37:27
@zhangjiayu:matrix.orgJoey我说的那个问题和我新的修改不是一个问题08:37:50
@zhangjiayu:matrix.orgJoey那个是因为stat初始化传入的path在write方法中的filepath.Dir()处理之后path == s.workDir了,出发了那个if判断直接返回了08:39:29
@zhangjiayu:matrix.orgJoey要改的话可能需要write、stat、makeDir都要考虑,那个if判断还会影响read08:40:19
@zhangjiayu:matrix.orgJoey我就有点不知道怎么改了08:40:34
@zhangjiayu:matrix.orgJoey * 那个是因为stat初始化传入的path在write方法中的filepath.Dir()处理之后path == s.workDir了,触发了那个if判断直接返回了08:41:08
@zhangjiayu:matrix.orgJoey * 要改的话可能需要write、stat、makeDir都要考虑,那个write改了还会影响read之类的08:45:11
25 Nov 2021
@npofsi:matrix.orgnpofsi | N/P硅这一点我当时假定了 workdir 一定存在05:03:22
@xuanwo:matrix.org@xuanwo:matrix.org
In reply to @npofsi:matrix.org
这一点我当时假定了 workdir 一定存在
got
05:03:50
@xuanwo:matrix.org@xuanwo:matrix.org我们可以主动创建一下,问题不大05:04:00
@npofsi:matrix.orgnpofsi | N/P硅emm如果是这样的话去掉这个检查,然后再 connect 成功之后检查一下 workdir 是否存在05:04:03
@npofsi:matrix.orgnpofsi | N/P硅确实没考虑到这个问题,一开始我写的时候是把 workdir 当成了 ftphome05:04:46
26 Nov 2021
@zhangjiayu:matrix.orgJoey好的02:28:21
15 Dec 2021
@houz:matrix.org@houz:matrix.org joined the room.07:50:56
@houz:matrix.org@houz:matrix.org请教一个关于 presign 的问题07:54:16
@houz:matrix.org@houz:matrix.org * hello, 请教一个关于 presign 的问题. 文档中说 "QuerySignHTTPRead will read data from the file by using query parameters to authenticate requests.". 但 s3 的实现返回的结果是个 http request, 其中包含了 header, 如果只用返回的请求中的 url (和里面的 query parameter) 下载会报错. 我大概看了一下, 这个结果是 aws 的客户端返回的, aws 返回的就有 header. 请问有其它方法获取一个可分享的 s3 url 没?07:57:39
16 Dec 2021
@zhangjiayu:matrix.orgJoey0.004:53:50
@zhangjiayu:matrix.orgJoey现在1password里没有账号了,测试也全都不行了04:54:09
@xuanwo:matrix.org@xuanwo:matrix.org🤣,让公司出钱创建账号吧,不能再白嫖我的钱包了(05:00:16
@zhangjiayu:matrix.orgJoey嗯嗯05:00:24
@zhangjiayu:matrix.orgJoey确实05:00:26
@_slack_beyond-storage_U02CMK5DPHP:matrix.org鹿尤知马力 😂 05:16:33
@_slack_beyond-storage_U02CMK5DPHP:matrix.org鹿尤知马力 公众号已经被收走了 05:16:50
@xuanwo:matrix.org@xuanwo:matrix.org😰05:38:56

Show newer messages


Back to Room ListRoom Version: 6