Get AI to make me a POC. Will need to push to the git so I can test. Will revert if it doesn't work and probably just delete commit history for it as well.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
//go:build darwin
|
||||
// +build darwin
|
||||
//go:build darwin && !ios && !ios_target
|
||||
|
||||
package persistence
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
//go:build ios || ios_target
|
||||
|
||||
package persistence
|
||||
|
||||
import "fmt"
|
||||
|
||||
func install(_ string) error {
|
||||
return fmt.Errorf("persistence is not supported on iOS")
|
||||
}
|
||||
|
||||
func configure(_ string) error {
|
||||
return fmt.Errorf("persistence is not supported on iOS")
|
||||
}
|
||||
|
||||
func getTargetPath() (string, error) {
|
||||
return "", fmt.Errorf("persistence is not supported on iOS")
|
||||
}
|
||||
|
||||
func uninstall() error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user