Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #861 (assigned defect)

Opened 8 months ago

Last modified 3 months ago

It is impossible to enumerate hidden/system files on Windows

Reported by: CyberShadow Assigned to: kris (accepted)
Priority: major Milestone: 1.0
Component: IO Version: 0.99.4 Frank
Keywords: triage Cc: thecybershadow@gmail.com

Description

It is impossible to enumerate hidden/system files on Windows using Tango.

The only way to enumerate files without invoking OS-level functions, tango.io.FilePath.opApply, has a hard-coded check and completely ignores files with these arguments.

FWIW, I think it's saner to enumerate all files than make some files inaccessible by their attributes.

Change History

01/20/08 13:18:38 changed by kris

Tango is a cross-platform library. Some platform-specific aspects will inevitably fall by the wayside for that reason. This may be one of those things ... we'll see.

01/20/08 15:09:08 changed by larsivi

The concept of hidden files, however they are implemented, I believe are in use in most operating systems. I think this should be exposed in Tango.

01/20/08 19:34:01 changed by CyberShadow

It is not lack of support for differentiating hidden files from regular files that's the main problem, but the fact that it's impossible to fully enumerate all files in a folder. This makes such common tasks as copying a folder, scanning a folder tree, etc. impossible.

02/10/08 21:43:08 changed by kris

  • status changed from new to assigned.
  • milestone set to 0.99.6.

04/17/08 23:52:27 changed by kris

  • milestone changed from 0.99.6 to 0.99.7.

05/11/08 17:47:27 changed by larsivi

  • keywords set to triage.

05/26/08 17:56:14 changed by kris

  • milestone changed from 0.99.7 to 1.0.