fix: filter result if exported data is empty

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ committed 2022-06-05 15:27:14 +08:00
1 parent d1ae09d9e4
commit 7b8e2a3fd2
9 files changed
+85 -11

No files matched your search

@@ -70,6 +70,10 @@ func (c *ChromiumDownload) Name() string {
return "download"
}
func (c *ChromiumDownload) Length() int {
return len(*c)
}
type FirefoxDownload []download
const (
@@ -131,3 +135,7 @@ func (f *FirefoxDownload) Parse(masterKey []byte) error {
func (f *FirefoxDownload) Name() string {
return "download"
}
func (f *FirefoxDownload) Length() int {
return len(*f)
}