├── .codecov.yml ├── .github ├── release-drafter.yml └── workflows │ ├── go.yml │ └── release-drafter.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── api.go ├── backend ├── api.go ├── caffe │ ├── doc.go │ ├── t.go │ └── torrent.go ├── common.go ├── common_test.go ├── doc.go ├── errors.go ├── file.go ├── handler.go ├── handler_test.go ├── job │ └── job.go ├── testdata │ ├── .tmp │ │ └── aea5584d0cd3865e90c80eace3bfcb062473d966 │ │ │ ├── .torrent.db │ │ │ ├── data │ │ │ └── torrent │ ├── .torrent.db │ ├── aea5584d0cd3865e90c80eace3bfcb062473d966 │ └── data │ │ └── testdata └── zip.go ├── cmd ├── pack-blocklist │ └── main.go ├── seeding │ └── main.go ├── server │ ├── handler.go │ └── main.go ├── torrent-create │ └── main.go ├── torrent-magnet │ └── main.go ├── torrent │ ├── announce.go │ └── main.go ├── torrentfs │ └── main.go └── tracker │ └── main.go ├── doc.go ├── file.go ├── fs.go ├── fs_test.go ├── go.mod ├── go.sum ├── infohash.go ├── interfaces.go ├── msg.go ├── params ├── chain.go ├── config.go ├── default.go ├── doc.go ├── files.go ├── mode.go ├── tracker.go └── version.go ├── peer.go ├── test └── data │ ├── testdata │ ├── testdata2 │ └── testdata3 ├── testdata ├── .torrent.db ├── 3101ac2c157ace6e4be72575758f7ba62b53e219 ├── 3145ad19228c1cd2d051314e72f26c1ce77b7f02 ├── a83dc64f96494b6b6c4f5291196d0ddd2f1a0769 ├── b2f5b0036877be22c6101bdfa5f2c7927fc35ef8 └── data │ ├── testdata │ ├── testdata2 │ └── testdata3 ├── torrent-create.sh ├── torrent-seeding.sh ├── types ├── common.go ├── gen_block_json.go ├── gen_block_rlp.go ├── gen_fileinfo_json.go ├── gen_fileinfo_rlp.go ├── gen_filemeta_json.go ├── gen_filemeta_rlp.go ├── gen_input_json.go ├── gen_input_rlp.go ├── gen_meta_json.go ├── gen_meta_rlp.go ├── gen_model_json.go ├── gen_model_rlp.go ├── gen_receipt_json.go ├── gen_receipt_rlp.go ├── gen_tx_json.go ├── gen_tx_rlp.go └── infer_meta.go └── workspace └── data └── example /.codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/.codecov.yml -------------------------------------------------------------------------------- /.github/release-drafter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/.github/release-drafter.yml -------------------------------------------------------------------------------- /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.github/workflows/release-drafter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/.github/workflows/release-drafter.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/README.md -------------------------------------------------------------------------------- /api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/api.go -------------------------------------------------------------------------------- /backend/api.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/api.go -------------------------------------------------------------------------------- /backend/caffe/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/caffe/doc.go -------------------------------------------------------------------------------- /backend/caffe/t.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/caffe/t.go -------------------------------------------------------------------------------- /backend/caffe/torrent.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/caffe/torrent.go -------------------------------------------------------------------------------- /backend/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/common.go -------------------------------------------------------------------------------- /backend/common_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/common_test.go -------------------------------------------------------------------------------- /backend/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/doc.go -------------------------------------------------------------------------------- /backend/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/errors.go -------------------------------------------------------------------------------- /backend/file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/file.go -------------------------------------------------------------------------------- /backend/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/handler.go -------------------------------------------------------------------------------- /backend/handler_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/handler_test.go -------------------------------------------------------------------------------- /backend/job/job.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/job/job.go -------------------------------------------------------------------------------- /backend/testdata/.tmp/aea5584d0cd3865e90c80eace3bfcb062473d966/.torrent.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/testdata/.tmp/aea5584d0cd3865e90c80eace3bfcb062473d966/.torrent.db -------------------------------------------------------------------------------- /backend/testdata/.tmp/aea5584d0cd3865e90c80eace3bfcb062473d966/data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/testdata/.tmp/aea5584d0cd3865e90c80eace3bfcb062473d966/data -------------------------------------------------------------------------------- /backend/testdata/.tmp/aea5584d0cd3865e90c80eace3bfcb062473d966/torrent: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/testdata/.tmp/aea5584d0cd3865e90c80eace3bfcb062473d966/torrent -------------------------------------------------------------------------------- /backend/testdata/.torrent.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/testdata/.torrent.db -------------------------------------------------------------------------------- /backend/testdata/aea5584d0cd3865e90c80eace3bfcb062473d966: -------------------------------------------------------------------------------- 1 | .tmp/aea5584d0cd3865e90c80eace3bfcb062473d966 -------------------------------------------------------------------------------- /backend/testdata/data/testdata: -------------------------------------------------------------------------------- 1 | testdata 2 | -------------------------------------------------------------------------------- /backend/zip.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/backend/zip.go -------------------------------------------------------------------------------- /cmd/pack-blocklist/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/cmd/pack-blocklist/main.go -------------------------------------------------------------------------------- /cmd/seeding/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/cmd/seeding/main.go -------------------------------------------------------------------------------- /cmd/server/handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/cmd/server/handler.go -------------------------------------------------------------------------------- /cmd/server/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/cmd/server/main.go -------------------------------------------------------------------------------- /cmd/torrent-create/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/cmd/torrent-create/main.go -------------------------------------------------------------------------------- /cmd/torrent-magnet/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/cmd/torrent-magnet/main.go -------------------------------------------------------------------------------- /cmd/torrent/announce.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/cmd/torrent/announce.go -------------------------------------------------------------------------------- /cmd/torrent/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/cmd/torrent/main.go -------------------------------------------------------------------------------- /cmd/torrentfs/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/cmd/torrentfs/main.go -------------------------------------------------------------------------------- /cmd/tracker/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/cmd/tracker/main.go -------------------------------------------------------------------------------- /doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/doc.go -------------------------------------------------------------------------------- /file.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/file.go -------------------------------------------------------------------------------- /fs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/fs.go -------------------------------------------------------------------------------- /fs_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/fs_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/go.sum -------------------------------------------------------------------------------- /infohash.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/infohash.go -------------------------------------------------------------------------------- /interfaces.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/interfaces.go -------------------------------------------------------------------------------- /msg.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/msg.go -------------------------------------------------------------------------------- /params/chain.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/params/chain.go -------------------------------------------------------------------------------- /params/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/params/config.go -------------------------------------------------------------------------------- /params/default.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/params/default.go -------------------------------------------------------------------------------- /params/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/params/doc.go -------------------------------------------------------------------------------- /params/files.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/params/files.go -------------------------------------------------------------------------------- /params/mode.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/params/mode.go -------------------------------------------------------------------------------- /params/tracker.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/params/tracker.go -------------------------------------------------------------------------------- /params/version.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/params/version.go -------------------------------------------------------------------------------- /peer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/peer.go -------------------------------------------------------------------------------- /test/data/testdata: -------------------------------------------------------------------------------- 1 | testdata 2 | -------------------------------------------------------------------------------- /test/data/testdata2: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/data/testdata3: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/.torrent.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/testdata/.torrent.db -------------------------------------------------------------------------------- /testdata/3101ac2c157ace6e4be72575758f7ba62b53e219: -------------------------------------------------------------------------------- 1 | .tmp/3101ac2c157ace6e4be72575758f7ba62b53e219 -------------------------------------------------------------------------------- /testdata/3145ad19228c1cd2d051314e72f26c1ce77b7f02: -------------------------------------------------------------------------------- 1 | .tmp/3145ad19228c1cd2d051314e72f26c1ce77b7f02 -------------------------------------------------------------------------------- /testdata/a83dc64f96494b6b6c4f5291196d0ddd2f1a0769: -------------------------------------------------------------------------------- 1 | .tmp/a83dc64f96494b6b6c4f5291196d0ddd2f1a0769 -------------------------------------------------------------------------------- /testdata/b2f5b0036877be22c6101bdfa5f2c7927fc35ef8: -------------------------------------------------------------------------------- 1 | .tmp/b2f5b0036877be22c6101bdfa5f2c7927fc35ef8 -------------------------------------------------------------------------------- /testdata/data/testdata: -------------------------------------------------------------------------------- 1 | testdata 2 | -------------------------------------------------------------------------------- /testdata/data/testdata2: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/data/testdata3: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /torrent-create.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/torrent-create.sh -------------------------------------------------------------------------------- /torrent-seeding.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/torrent-seeding.sh -------------------------------------------------------------------------------- /types/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/common.go -------------------------------------------------------------------------------- /types/gen_block_json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_block_json.go -------------------------------------------------------------------------------- /types/gen_block_rlp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_block_rlp.go -------------------------------------------------------------------------------- /types/gen_fileinfo_json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_fileinfo_json.go -------------------------------------------------------------------------------- /types/gen_fileinfo_rlp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_fileinfo_rlp.go -------------------------------------------------------------------------------- /types/gen_filemeta_json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_filemeta_json.go -------------------------------------------------------------------------------- /types/gen_filemeta_rlp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_filemeta_rlp.go -------------------------------------------------------------------------------- /types/gen_input_json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_input_json.go -------------------------------------------------------------------------------- /types/gen_input_rlp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_input_rlp.go -------------------------------------------------------------------------------- /types/gen_meta_json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_meta_json.go -------------------------------------------------------------------------------- /types/gen_meta_rlp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_meta_rlp.go -------------------------------------------------------------------------------- /types/gen_model_json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_model_json.go -------------------------------------------------------------------------------- /types/gen_model_rlp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_model_rlp.go -------------------------------------------------------------------------------- /types/gen_receipt_json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_receipt_json.go -------------------------------------------------------------------------------- /types/gen_receipt_rlp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_receipt_rlp.go -------------------------------------------------------------------------------- /types/gen_tx_json.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_tx_json.go -------------------------------------------------------------------------------- /types/gen_tx_rlp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/gen_tx_rlp.go -------------------------------------------------------------------------------- /types/infer_meta.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/types/infer_meta.go -------------------------------------------------------------------------------- /workspace/data/example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CortexFoundation/torrentfs/HEAD/workspace/data/example --------------------------------------------------------------------------------