absolute method

String absolute(
  1. String part1, [
  2. String? part2,
  3. String? part3,
  4. String? part4,
  5. String? part5,
  6. String? part6,
  7. String? part7,
  8. String? part8,
  9. String? part9,
  10. String? part10,
  11. String? part11,
  12. String? part12,
  13. String? part13,
  14. String? part14,
  15. String? part15,
])

Returns a new path with the given path parts appended to current.

Equivalent to join() with current as the first argument. Example:

p.absolute('path', 'to/foo'); // -> '/your/current/dir/path/to/foo'

Does not normalize or canonicalize paths.

Implementation

String absolute(String part1,
        [String? part2,
        String? part3,
        String? part4,
        String? part5,
        String? part6,
        String? part7,
        String? part8,
        String? part9,
        String? part10,
        String? part11,
        String? part12,
        String? part13,
        String? part14,
        String? part15]) =>
    p.context.absolute(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13,
        part14, part15);