joinPath method

  1. @override
Future<Result<String, FileError>> joinPath(
  1. List<String> parts
)
override

Joins path segments in the filesystem namespace without requiring the result to exist.

Implementation

@override
Future<Result<String, FileError>> joinPath(List<String> parts) async {
  return Ok(_normalize(parts.join('/')));
}