You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should FileManager.attributesOfItem(atPath:) and similar APIs expose Alternate Data Streams on Windows? They're somewhat logically equivalent to extended attributes on Unix-y platforms, so it might make sense.
The text was updated successfully, but these errors were encountered:
If they are logically equivalent to extended attributes then to me it'd make sense to provide them in the same manner that we provide extended attributes on Unix platforms.
However attributesOfItem(atPath:) does not provide extended attributes on Unix platforms as API either so this isn't a lack of functionality for Windows in specific but a lack of API in general. It could be possible to add a new FileAttributeKey that exposes a value that represents xattrs on Unix and ADS on Windows in a cross-platform manner (ignoring it on platforms that don't support xattrs like WASI and Android)
Should FileManager.attributesOfItem(atPath:) and similar APIs expose Alternate Data Streams on Windows? They're somewhat logically equivalent to extended attributes on Unix-y platforms, so it might make sense.
The text was updated successfully, but these errors were encountered: