Skip to content

Consider using flags to specify whether path or name is returned #4

@fhightower

Description

@fhightower

For example, rather than having directory_subdirectory_names and directory_subdirectory_paths, simply have directory_subdirectories(dir_path: str, return_paths: bool = False) where the return_paths flag determines whether the returned items are paths or file names.

This would involve consolidating and simplifying the code and interfaces in this library.

This ticket also involves changing the function calls in all of the democritus libraries that use these functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttime est: 1 hourWe estimate this issue will take 1 hour to complete

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions