mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-11 09:44:21 +01:00
🎨 Support manual purge of unreferenced data snapshots in the S3/WebDAV cloud storage https://github.com/siyuan-note/siyuan/issues/10081
This commit is contained in:
parent
e3c395e228
commit
cb6476b165
8 changed files with 14 additions and 16 deletions
|
|
@ -1841,13 +1841,11 @@ func subscribeRepoEvents() {
|
|||
eventbus.Subscribe(eventbus.EvtCloudPurgeListRefs, func(context map[string]interface{}) {
|
||||
util.ContextPushMsg(context, Conf.language(226))
|
||||
})
|
||||
eventbus.Subscribe(eventbus.EvtCloudPurgeDownloadIndex, func(context map[string]interface{}, id string) {
|
||||
msg := fmt.Sprintf(Conf.language(227), id)
|
||||
util.ContextPushMsg(context, msg)
|
||||
eventbus.Subscribe(eventbus.EvtCloudPurgeDownloadIndexes, func(context map[string]interface{}) {
|
||||
util.ContextPushMsg(context, fmt.Sprintf(Conf.language(227)))
|
||||
})
|
||||
eventbus.Subscribe(eventbus.EvtCloudPurgeDownloadFiles, func(context map[string]interface{}) {
|
||||
msg := Conf.language(228)
|
||||
util.ContextPushMsg(context, msg)
|
||||
util.ContextPushMsg(context, Conf.language(228))
|
||||
})
|
||||
eventbus.Subscribe(eventbus.EvtCloudPurgeRemoveIndexes, func(context map[string]interface{}) {
|
||||
util.ContextPushMsg(context, Conf.language(229))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue