Dev (#6)
* refactor: rename package * fix: fix govet issues * fix: misspellings
This commit is contained in:
parent
2cbe4209a9
commit
ac05637658
7 changed files with 41 additions and 42 deletions
|
@ -211,7 +211,6 @@ func (srv *SrvShare) AddLocalFilesImp() interface{} {
|
|||
for _, info := range infos {
|
||||
info.DownLimit = srv.Conf.DownLimit
|
||||
info.State = fileidx.StateDone
|
||||
info.PathLocal = info.PathLocal
|
||||
info.Id = srv.Encryptor.Encrypt([]byte(info.PathLocal))
|
||||
|
||||
addRet := srv.Index.Add(info)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue