vibe-core/source/vibe/core/path.d
Sönke Ludwig 7e2d1dd038 Initial commit.
The library is able to support simple TCP servers in the current state. The API is still mostly compatible with mainline vibe.d, but the driver systen has been replaced by the eventcore library and sockets/files/timers/... are now structs with automatic reference counting instead of GC collected classes. The stream interfaces have been removed for now.
2016-03-01 20:30:42 +01:00

26 lines
320 B
D

module vibe.core.path;
struct Path {
nothrow: @safe:
private string m_path;
this(string p)
{
m_path = p;
}
string toString() const { return m_path; }
string toNativeString() const { return m_path; }
}
struct PathEntry {
nothrow: @safe:
private string m_name;
this(string name)
{
m_name = name;
}
}