FilePath.opEquals

Does this FilePath match the given text? Note that some combinations of operations may not produce an identical set of fields. For example:

FilePath("/foo").append("bar").pop == "/foo";
FilePath("/foo/").append("bar").pop != "/foo/";

The latter Is Different due to variance in how append injects data, and how pop is expected to operate under different circumstances (both examples produce the same pop result, although the initial path is not identical).

However, opEquals() can overlook minor distinctions such as this example, and will return a match.

  1. equals_t opEquals(Object o)
  2. int opEquals(cstring s)
    class FilePath
    final
    int
    opEquals
    (
    cstring s
    )

Meta