dotnet / dotnet/dotnet-api-docs

File attribute Compressed also means that new files in a directory will be compressed

Open
#11,701 1 comment 0 reactions 0 assignees View on GitHub
area-System.IO untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Type of issue

Missing information

### Description

Crurently the `Compressed` file attribute is documented like this:

> The file is compressed.

It's missing information. The `Compressed` file attribute can also be present on directories, on which it means that new files will be compressed (and new directories will have the flag set).

### Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.io.fileattributes?view=net-8.0

### Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.IO/FileAttributes.xml

### Document Version Independent Id

bf49dcd7-ad7f-309a-53b0-c616a0f73951

### Platform Id

6b924f95-76e8-a34b-543f-e3a77a0fb512

### Article author

@dotnet-bot

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.