feat: add local DB to save downloads
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package utils
|
||||
|
||||
import "os"
|
||||
|
||||
func FileExists(path string) bool {
|
||||
info, err := os.Stat(path)
|
||||
|
||||
return err == nil && !info.IsDir()
|
||||
}
|
||||
Reference in New Issue
Block a user