Page not found
63 | 64 |Sorry, but the page you were trying to get to, does not exist. You 65 | may want to try searching this site using the sidebar or using our 66 | API Reference page to find what 67 | you were looking for.
68 | 69 | 82 |├── test ├── test_helper.exs ├── files_for_tests │ ├── example_code3.ex │ ├── example_code1.ex │ ├── example_code2.ex │ └── example_code4.ex └── duplex_test.exs ├── duplex ├── .gitignore ├── doc ├── fonts │ ├── icomoon.eot │ ├── icomoon.ttf │ ├── icomoon.woff │ └── icomoon.svg ├── .build ├── index.html ├── dist │ ├── sidebar_items-b8960a7b6d.js │ └── app-a07cea761b.css ├── 404.html ├── api-reference.html ├── Mix.Tasks.Scan.html └── Duplex.html ├── config └── config.exs ├── README.md ├── mix.exs ├── mix.lock ├── LICENSE └── lib └── duplex.ex /test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | -------------------------------------------------------------------------------- /duplex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zirkonit/duplex/HEAD/duplex -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /_build 2 | /cover 3 | /deps 4 | erl_crash.dump 5 | *.ez 6 | ./duplex -------------------------------------------------------------------------------- /doc/fonts/icomoon.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zirkonit/duplex/HEAD/doc/fonts/icomoon.eot -------------------------------------------------------------------------------- /doc/fonts/icomoon.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zirkonit/duplex/HEAD/doc/fonts/icomoon.ttf -------------------------------------------------------------------------------- /doc/fonts/icomoon.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zirkonit/duplex/HEAD/doc/fonts/icomoon.woff -------------------------------------------------------------------------------- /test/files_for_tests/example_code3.ex: -------------------------------------------------------------------------------- 1 | defmodule M3 do 2 | @moduledoc """ 3 | M3 4 | """ 5 | def f(n, m) do 6 | n + m 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /doc/.build: -------------------------------------------------------------------------------- 1 | dist/app-4aef34ad5f.js 2 | dist/app-a07cea761b.css 3 | fonts/icomoon.eot 4 | fonts/icomoon.svg 5 | fonts/icomoon.ttf 6 | fonts/icomoon.woff 7 | dist/sidebar_items-b8960a7b6d.js 8 | api-reference.html 9 | index.html 10 | 404.html 11 | Duplex.html 12 | Mix.Tasks.Scan.html 13 | -------------------------------------------------------------------------------- /test/files_for_tests/example_code1.ex: -------------------------------------------------------------------------------- 1 | defmodule M1 do 2 | @moduledoc """ 3 | M1 4 | """ 5 | def f(a, b) do 6 | if b != 0 do 7 | if a > b do 8 | a = a - b 9 | else 10 | b = b - a 11 | end 12 | f(a, b) 13 | else 14 | a 15 | end 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /test/files_for_tests/example_code2.ex: -------------------------------------------------------------------------------- 1 | defmodule M2 do 2 | @moduledoc """ 3 | M2 4 | """ 5 | def f(n, m) do 6 | if m != 0 do 7 | if n > m do 8 | n = n - m 9 | else 10 | m = m - n 11 | end 12 | f(n, m) 13 | else 14 | n 15 | end 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /doc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |Sorry, but the page you were trying to get to, does not exist. You 65 | may want to try searching this site using the sidebar or using our 66 | API Reference page to find what 67 | you were looking for.
68 | 69 | 82 |Duplex allows you to search for similar code blocks inside your Elixir project
79 |A task needs to implement run which receives
130 | a list of command line args.
Callback implementation for Mix.Task.run/1.
Duplex allows you to search for similar code blocks inside your Elixir project.
72 | 73 |