blob: 14c72cbe48ed982f5c16e11c276b8c342427d260 [file] [edit]
// Copyright (c) 2026, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// #region import
import 'package:path/path.dart' as p;
// #endregion import
void main() {
// #region join
p.join('directory', 'file.txt');
// #endregion join
// #region context
final context = p.Context(style: p.Style.windows);
context.join('directory', 'file.txt');
// #endregion context
}