From: Matt Joiner Date: Sun, 20 Jul 2025 02:47:26 +0000 (+1000) Subject: Don't build ./fs on Windows X-Git-Tag: v1.59.0~2^2~98 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=44429e28641bc1ded52ce381502d0a730a9b28fb;p=btrtrc.git Don't build ./fs on Windows --- diff --git a/fs/cmd/torrentfs/main.go b/fs/cmd/torrentfs/main.go index d35f5c23..5bc50ade 100644 --- a/fs/cmd/torrentfs/main.go +++ b/fs/cmd/torrentfs/main.go @@ -1,3 +1,5 @@ +//go:build !windows + // Mounts a FUSE filesystem backed by torrents and magnet links. package main diff --git a/fs/file_handle.go b/fs/file_handle.go index ce5ded0b..9a64bb57 100644 --- a/fs/file_handle.go +++ b/fs/file_handle.go @@ -1,3 +1,5 @@ +//go:build !windows + package torrentfs import ( diff --git a/fs/filenode.go b/fs/filenode.go index 28a433e1..7054ee7b 100644 --- a/fs/filenode.go +++ b/fs/filenode.go @@ -1,3 +1,5 @@ +//go:build !windows + package torrentfs import ( diff --git a/fs/stream-sintel_test.go b/fs/stream-sintel_test.go index 3dd57a22..13321523 100644 --- a/fs/stream-sintel_test.go +++ b/fs/stream-sintel_test.go @@ -1,3 +1,5 @@ +//go:build !windows + package torrentfs_test import ( diff --git a/fs/torrentfs.go b/fs/torrentfs.go index f011d19b..1003c010 100644 --- a/fs/torrentfs.go +++ b/fs/torrentfs.go @@ -1,3 +1,5 @@ +//go:build !windows + package torrentfs import ( diff --git a/fs/torrentfs_test.go b/fs/torrentfs_test.go index 80bd02e7..3630d6c6 100644 --- a/fs/torrentfs_test.go +++ b/fs/torrentfs_test.go @@ -1,3 +1,5 @@ +//go:build !windows + package torrentfs import (