mirror of https://github.com/adamdruppe/arsd.git
move to new phobos module
This commit is contained in:
parent
b5581ac1cb
commit
a2fbd27b66
7
curl.d
7
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)
|
||||
|
|
Loading…
Reference in New Issue