From a2fbd27b66d69a21dea0e91ce26152891628e2dc Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Wed, 21 Aug 2013 16:20:40 -0400 Subject: [PATCH] move to new phobos module --- curl.d | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/curl.d b/curl.d index d79f945..81d771d 100644 --- a/curl.d +++ b/curl.d @@ -65,8 +65,11 @@ struct CurlOptions { } */ -//import std.digest.md; -import std.md5; +string getDigestString(string s) { + import std.digest.md; + return toHexString(md5Of(s)); +} +//import std.md5; import std.file; /// this automatically caches to a local file for the given time. it ignores the expires header in favor of your time to keep. version(linux)