Skip to content

Commit d275e20

Browse files
committed
Dub: Remove the ability to change the rootpath
It was deprecated in 3c87ebd.
1 parent 48e7115 commit d275e20

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

source/dub/dub.d

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -206,12 +206,6 @@ class Dub {
206206
m_packageManager = new PackageManager(pkg_root);
207207
}
208208

209-
deprecated("Use the overload that takes `(NativePath pkg_root, NativePath root)`")
210-
this(NativePath pkg_root)
211-
{
212-
this(pkg_root, pkg_root);
213-
}
214-
215209
/**
216210
* Get the `PackageManager` instance to use for this `Dub` instance
217211
*
@@ -417,14 +411,6 @@ class Dub {
417411
/** Returns the root path (usually the current working directory).
418412
*/
419413
@property NativePath rootPath() const { return m_rootPath; }
420-
/// ditto
421-
deprecated("Changing the root path is deprecated as it has non-obvious pitfalls " ~
422-
"(e.g. settings aren't reloaded). Instantiate a new `Dub` instead")
423-
@property void rootPath(NativePath root_path)
424-
{
425-
m_rootPath = root_path;
426-
if (!m_rootPath.absolute) m_rootPath = getWorkingDirectory() ~ m_rootPath;
427-
}
428414

429415
/// Returns the name listed in the dub.json of the current
430416
/// application.

0 commit comments

Comments
 (0)