path icon indicating copy to clipboard operation
path copied to clipboard

A string-based path manipulation library.

Results 16 path issues
Sort by recently updated
recently updated
newest added

Although *most* paths on Windows are case-insensitive, it's possible to set certain directories as case-sensitive. This means that `canonicalize()` as currently implemented—converting all Windows paths to lower case—can cause a...

type-bug

**Issue by [nex3](https://github.com/nex3)** _Originally opened as dart-lang/sdk#19145_ --- These functions (like the rest of path's URL support) only make sense with URLs, not URIs, and calling that out in the...

type-enhancement
next-breaking-release

The documentation doesn't provide clear guidance on how you stipulate a root path in a cross platform manner. Whist \tmp isn't an absolute path on windows it does describe a...

type-enhancement

As per comment by @jamesderlin at [https://github.com/google/file.dart/issues/198#issuecomment-1518274694](https://github.com/google/file.dart/issues/198#issuecomment-1518274694) on the issue related to the _file_ package, >The expectation is that _context.isAbsolute(path) logically implies that path includes style.drive as a prefix, which...

type-bug

``` import 'package:path/path.dart'; void main(List args) { print(isWithin('/dir/.', '/dir/.file')); print(isWithin('/dir/.', '/dir/file')); } ``` Prints ``` > dart a.dart false true ```

type-bug

See https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file?redirectedfrom=MSDN#win32-file-namespaces: > For file I/O, the "\\\\?\\" prefix to a path string tells the Windows APIs to disable all string parsing and to send the string that follows it...

type-enhancement
contributions-welcome

I'm running into issues running `flutter test`- sometimes it's successful and other times it's not. I'm wondering if anyone has any ideas as to whether this is an issue on...

status-needs-info

On Windows, the following code: ```dart final String homeDrive = platform.environment['HOMEDRIVE']; final String homePath = platform.environment['HOMEPATH']; print(homeDrive); print(homePath); print(fs.path.join(homeDrive, homePath)); ``` Outputs the following: ```text C: \Users\danny \Users\danny ``` The...

type-bug

The `Style` class has a number of deprecated public APIs that are a vestige of an ill-fated attempt to allow user-defined path styles. These should be deleted when we decided...

type-enhancement
next-breaking-release

According to [the WHATWG URL spec](https://url.spec.whatwg.org/#shorten-a-urls-path), `..` shouldn't traverse past a drive letter if it's the only component in a `file` URL's path.

type-bug