github.com/fozzysec/SiaPrime@v0.0.0-20190612043147-66c8e8d11fe3/siatest/remotefile.go (about) 1 package siatest 2 3 import ( 4 "SiaPrime/crypto" 5 ) 6 7 type ( 8 // RemoteFile is a helper struct that represents a file uploaded to the Sia 9 // network. 10 RemoteFile struct { 11 checksum crypto.Hash 12 siaPath string 13 } 14 ) 15 16 // SiaPath returns the siaPath of a remote file. 17 func (rf RemoteFile) SiaPath() string { 18 return rf.siaPath 19 }