X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2FFetched.kt;fp=src%2Fmain%2Fkotlin%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2FFetched.kt;h=1f48e3ed1bdee6d58b78b7e194779025f413808a;hp=0000000000000000000000000000000000000000;hb=03cec6a6772c2d836d94864adddaf544cbe9d72f;hpb=6f1f26e3998cfef155b0cf59152827accea70d30 diff --git a/src/main/kotlin/net/pterodactylus/sone/core/Fetched.kt b/src/main/kotlin/net/pterodactylus/sone/core/Fetched.kt new file mode 100644 index 0000000..1f48e3e --- /dev/null +++ b/src/main/kotlin/net/pterodactylus/sone/core/Fetched.kt @@ -0,0 +1,9 @@ +package net.pterodactylus.sone.core + +import freenet.client.FetchResult +import freenet.keys.FreenetURI + +/** + * Container for a fetched URI and the [FetchResult]. + */ +data class Fetched(val freenetUri: FreenetURI, val fetchResult: FetchResult)