Mike, Depending on what you mean by a "single file", only hardlinks could cause that. For the purposes of node modules, though, a hardlink is indistinguishable from another copy of the file with the same contents, since it's only the parsed JS that matters.
The point is that the resolved (ie, fs.realpath()'ed) file is the key in the module cache. On Thu, Nov 1, 2012 at 1:15 PM, Bradley Meck <bradley.m...@gmail.com> wrote: > Posix has the ability to have hard links on disk where they have the same > inode but different paths, unsure if this affects Window's junctions in the > same way though. > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to nodejs@googlegroups.com > To unsubscribe from this group, send email to > nodejs+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en