github.com/dmmcquay/sia@v1.3.1-0.20180712220038-9f8d535311b9/siatest/remotefile.go (about) 1 package siatest 2 3 import ( 4 "github.com/NebulousLabs/Sia/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 }