OSDN Git Service

Hulk did something
[bytom/vapor.git] / blockchain / pseudohsm / watch_fallback.go
diff --git a/blockchain/pseudohsm/watch_fallback.go b/blockchain/pseudohsm/watch_fallback.go
new file mode 100644 (file)
index 0000000..32dfdad
--- /dev/null
@@ -0,0 +1,12 @@
+// +build ios linux,arm64 !darwin,!freebsd,!linux,!netbsd,!solaris,!windows
+
+// This is the fallback implementation of directory watching.
+// It is used on unsupported platforms.
+
+package pseudohsm
+
+type watcher struct{ running bool }
+
+func newWatcher(*keyCache) *watcher { return new(watcher) }
+func (*watcher) start()             {}
+func (*watcher) close()             {}