GithubHelp home page GithubHelp logo

trapd00r / text-filetree Goto Github PK

View Code? Open in Web Editor NEW

This project forked from olof/text-filetree

0.0 2.0 0.0 20 KB

Perl module for converting a list of files with full paths to a tree

Perl 100.00%

text-filetree's Introduction

NAME
    Text::FileTree - convert a list of files with full paths to a tree

DESCRIPTION
    A file list can be organized in a number of ways. The two that most
    probably comes to mind is a "state free" way, where each file is listed
    with full path and doesn't depend on its context. The "find" command
    outputs files in this way.

    There is also the "stateful" way of display file lists, where each file
    is sorted by its common parents. E.g., instead of

     foo/bar
     foo/baz

    you might have the following structure instead:

     foo/
       bar
       baz

    This module does just that, converts a "plain" file listing in to the
    "stateful", directory sorted, way.

AVAILABILITY AND BUG REPORTING
    Latest released version is available through CPAN. Latest development
    version is available on github:

    *   <http://metacpan.org/pod/Text::FileTree>

    *   <http://github.com/olof/Text-FileTree>

    Bugs can be reported on either rt.cpan.org, as an issue on github or as
    an e-mail to me. The primary issue tracker is github.

KNOWN BUGS AND LIMITATIONS
    This module does not separate between a file and a directory. This only
    affects leaf nodes, as you can deduce that a file with children is
    indeed a directory. This is unlikely to be fixed, as there is really no
    way of distinguish them in, say, the output from find. Often, you should
    be able to determine this by context: e.g. by giving "find" the "-type
    f" flag --- now all leaf nodes are regular files.

COPYRIGHT
    Copyright (c) 2012 - Olof Johansson <[email protected]> All rights reserved.

    This program is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.

text-filetree's People

Contributors

olof avatar zoffixznet avatar trapd00r avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.