Dividing D Module between multiple files
Ali Çehreli via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Feb 18 01:08:54 PST 2015
On 02/17/2015 11:23 PM, Muahmmad Adel wrote:
> I have searched online and I found no way for dividing D Module
> between multiple files.
As always, documentation can be better. :) There is the relatively new
"package module":
http://dlang.org/module.html#package-module
http://ddili.org/ders/d.en/modules.html#ix_modules.package%20import
> high probability of merge conflicts (as more developers are
> working on the same file)
A merge conflict at the file level yes, but if the developers are
touching different parts of that file, then most merge tools wouldn't
see that as a merge conflict.
Ali
More information about the Digitalmars-d-learn
mailing list