Git Product home page Git Product logo

dfm's People

Contributors

cgamesplay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

arubyz

dfm's Issues

runtime error: when trying to add non-existent file

Not a big deal, but kind of ugly: dfm dies when you try to add a file that can't be found: dfm add i_dont_exist (I'm on macOS).

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x1381ca2]

goroutine 1 [running]:
main.(*Dfm).AddFiles(0xc0000b7650, 0xc00008d070, 0x1, 0x1, 0xc0001495c4, 0x5, 0xc0000d1c01, 0x1478e60, 0x0, 0x0)
        /Users/rpatterson/Projects/dfm/Dfm.go:193 +0x132
main.runAdd(0xc0000c7b80, 0xc00008d070, 0x1, 0x1)
        /Users/rpatterson/Projects/dfm/main.go:102 +0xcd
github.com/spf13/cobra.(*Command).execute(0xc0000c7b80, 0xc00008d040, 0x1, 0x1, 0xc0000c7b80, 0xc00008d040)
        /Users/rpatterson/.virtualgo/dfm/pkg/mod/github.com/spf13/[email protected]/command.go:830 +0x2aa
github.com/spf13/cobra.(*Command).ExecuteC(0xc0000c7180, 0xc0000d1f48, 0x1, 0x1)
        /Users/rpatterson/.virtualgo/dfm/pkg/mod/github.com/spf13/[email protected]/command.go:914 +0x2fb
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/rpatterson/.virtualgo/dfm/pkg/mod/github.com/spf13/[email protected]/command.go:864
main.main()
        /Users/rpatterson/Projects/dfm/main.go:224 +0xaa7

as a side note (I dont want to spam github issues..), the output of dfm --help is not quite accurate: it states that the user should execute dfm init . --repos files, but the correct command would be dfm init --repos files.

Idea: command for inverse of dfm add

Hi,

I just started using this and i like it. I think of it as kind of a convenient wrapper for ln ;)
With this in mind, what would you think about a "unlink" command that does the opposite of what "link" does?

Log message when removing empty directory

When dim cleans up an empty directory, this fact is not logged. It would be useful to log this, since it is a modification to the file system. Ensure that the message is printed in dry run mode, when the directory would be deleted had it been a real run.

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.