Skip to content

Hidden folders are included in bag despite includeHidden setted to false #101

@tiarossi

Description

@tiarossi

Version : 5.0.3
OS: Windows 7

When

  • I run testBagInPlace at BagCreatorTest

Then

  • I should not see ".hiddenFolder" at the created bag

Error
At BagCreator::moveDataFilesIfNeeded, Files.isHidden is used to test directory hiddeness. But from method javadoc "On Windows a file is considered hidden if it isn't a directory and the DOS hidden attribute is set."

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions