未验证 提交 0cf1a948 编写于 作者: P Phodal Huang

docs: thinking in features

上级 215f9823
......@@ -10,6 +10,10 @@ Refactoring Modeling:
![Refactoring Modeling](docs/images/model.svg)
Todo:
- [ ] Show all todos and history
## Usage
install
......@@ -285,6 +289,25 @@ coca refactor -R rename.coca -p src/main
coca refactor -m move.config -p .
```
### Evaluate
```
coca evaluate
```
```
custom [customKeyGenerator customCacheManager]
throw [throwUnchecked throwCheckedSync throwUncheckedSync throwChecked]
evict [evictWithException evictAllEarly evictAll evict evictEarly]
multi [multiCacheAndEvict multiCache multiUpdate multiEvict multiConditionalCacheAndEvict]
conditional [conditional conditionalUpdate conditionalSync]
unknown [unknownCustomCacheManager unknownCustomKeyGenerator]
throw [throwException throwCheckedException]
put [putWithException put]
early [earlyRemoveWithException earlyRemoveAllWithException earlyRemoveAll earlyPut earlyPutWithException earlyRemove]
evict [evictAll evictWithException evict evictEarly evictAllEarly]
```
## Dev
Install Go
......
......@@ -47,6 +47,7 @@ var countCmd = &cobra.Command{
}
}
// TODO: support identify data class
var callMap = make(map[string]int)
for _, clz := range cparsedDeps {
for _, call := range clz.MethodCalls {
......
......@@ -65,6 +65,7 @@ func (s Service) Evaluate(node models.JClassNode) {
}
}
// TODO: support for same end words
if s.enableSameBehavior() {
}
......
# 9. git tell file history
Date: 2019-12-25
## Status
2019-12-25 proposed
## Context
Refs: https://stackoverflow.com/questions/9935379/git-show-all-of-the-various-changes-to-a-single-line-in-a-specified-file-over-t
Show Line History:
```
git log -3,5:README.md
```
Show String History
```
git log -G "## Usage" README.md
```
More:
```
for c in $(git log -G "## Usage" --format=%H -- README.md); do
git --no-pager grep -e "## Usage" $c -- README.md
done
```
Blame:
```
git blame README.md
```
## Decision
Decision here...
## Consequences
Consequences here...
......@@ -7,4 +7,5 @@
* [5. evaluate-api](0005-evaluate-api.md)
* [6. support-adapter-to-cli-framework](0006-support-adapter-to-cli-framework.md)
* [7. practise-go-patterns-in-coca](0007-practise-go-patterns-in-coca.md)
* [8. testable-evaluate](0008-testable-evaluate.md)
\ No newline at end of file
* [8. testable-evaluate](0008-testable-evaluate.md)
* [9. git-tell-file-history](0009-git-tell-file-history.md)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册