Giter Site home page Giter Site logo

lsha's People

Contributors

kuking avatar stuarthicks avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

lsha's Issues

regression tests

Developt a script that creates a few mock files & folders and its tests lsha output with different parameters.
It would be nice include this automatic testing within the cargo 'chain' or at least Travis.

Option to output the sha per file to help discovering differences

Considering two folders with thousand files in each, in order to figure out exactly which file/folder differs between the two file trees; it will be useful to display the ongoing sha-256 calculation... therefore when diffing the output of the two folders we can tell exactly which file differs (and renders the two folders to have different lsha output)
i.e.

$ lsha -r folder1
file1 ...1234
file2 ...ab32
file3 ...aacc
lsha-256 ...aabc

$ lsha -r folder2
file1 ...1234
file2 ...0000
file3 ...1111
lsha-256 ...cdef

In prev. example file2 differs between folder1 and folder2.

Error handling

At the moment is absent, it should fail 'better' i.e. explaning what went wrong.

paths should be handled by Path objects

At the moment it does some naughty path concatenations with / and other sorts. It would probably be better to use Path objects and leave the task to a well implemented class.

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.