Commit Graph

46 Commits

Author SHA1 Message Date
grimhilt
7951ad0520 refactor(tree): create impl Tree 2024-02-25 17:34:16 +01:00
grimhilt
faf7341525 refactor(blob): use object trait to create blob 2024-02-24 18:52:00 +01:00
grimhilt
1c60560c6e refactor(clone): set remote in config 2024-02-21 17:01:02 +01:00
grimhilt
908ead5b11 change name of functions 2023-10-21 21:48:21 +02:00
grimhilt
a35c7b20d8 cleaning warnings 2023-08-27 22:57:05 +02:00
grimhilt
863e3bd68a find deletion on pull 2023-08-27 22:50:51 +02:00
grimhilt
498fada9ec push modification 2023-08-24 20:59:41 +02:00
grimhilt
d5097727cb create impl for blob 2023-08-04 15:25:51 +02:00
grimhilt
4e20ec94f9 remote diff with new opti remote enumerater 2023-07-21 17:10:57 +02:00
grimhilt
f01983b29d optimize clone by allowing to fetch with a different depth 2023-07-21 16:00:04 +02:00
grimhilt
0832100d83 enumerate_remote function & applied to clone 2023-07-21 14:45:45 +02:00
grimhilt
dfd42389f3 loading bar when downloading 2023-07-14 15:33:44 +02:00
grimhilt
80d497d47c creation of a downloader 2023-07-13 23:36:39 +02:00
grimhilt
ddf2169950 use PathBuf in obj instead of &Path and get lastmodified when pushing changes 2023-07-02 18:50:33 +02:00
grimhilt
da3d605baa remove env variable for remote 2023-06-25 21:27:31 +02:00
grimhilt
b74c5c176b check if the user is in a nextsync repo and fail else 2023-06-25 18:26:59 +02:00
grimhilt
d3592a5209 check if directory where the init command is clone is empty 2023-06-25 18:03:56 +02:00
grimhilt
39d1032c14 check if directory to clone is empty 2023-06-25 17:56:55 +02:00
grimhilt
20926514d2 allow url format without username 2023-06-25 17:45:51 +02:00
grimhilt
675b650200 check timestamp for conflicts with remote 2023-06-24 16:52:02 +02:00
grimhilt
4842a20024 organize import order 2023-06-19 18:31:03 +02:00
grimhilt
8b3ba64e48 move push factory in several files 2023-06-19 18:25:51 +02:00
grimhilt
f1d552a31c move async in services 2023-06-19 18:04:50 +02:00
grimhilt
4cde39dffd add lastmodified on folder 2023-06-19 17:34:18 +02:00
grimhilt
5d25429546 add lastmodified in store for files 2023-06-19 17:23:52 +02:00
grimhilt
1fd7948122 merge list folders and req props 2023-06-17 16:26:31 +02:00
grimhilt
eabf707844 minor cleaning 2023-06-17 15:54:09 +02:00
grimhilt
7cfd572ad0 cleaning clone 2023-06-17 15:36:18 +02:00
grimhilt
b16058b4d3 cleaning imports and warnings 2023-06-17 01:26:13 +02:00
grimhilt
ea2b0772af move parsing into list_folders 2023-06-17 01:20:00 +02:00
grimhilt
b911ad8606 move creation of downloaded file in service 2023-06-17 00:37:12 +02:00
grimhilt
0bf5fb76e0 allow http if forced 2023-06-16 23:30:44 +02:00
grimhilt
7a34b3c79b optimize add 2023-06-16 23:22:18 +02:00
grimhilt
3da439ccf6 add store 2023-06-14 11:16:19 +02:00
grimhilt
e405ce7f8f cleaning some code 2023-06-12 01:30:39 +02:00
grimhilt
05d17c296f store blob 2023-06-12 01:16:39 +02:00
grimhilt
c5abc57e9a cleaning 2023-06-06 19:47:15 +02:00
grimhilt
762ab25619 working relative path with clone and init 2023-06-06 19:42:54 +02:00
grimhilt
08a61ee1aa introduce global variable 2023-06-06 16:51:40 +02:00
grimhilt
457dd32ad8 fix init when cloning in the right dir 2023-06-06 15:35:53 +02:00
grimhilt
fe990e4213 save tree objects when cloning 2023-06-05 23:08:11 +02:00
grimhilt
2117ce3016 add init when clone 2023-06-05 19:25:04 +02:00
grimhilt
5b7b75846c cleaner clone 2023-06-05 18:12:02 +02:00
grimhilt
1042a7ea22 clone all files and their content 2023-06-05 15:54:40 +02:00
grimhilt
a45c953397 enumerate all objects on server when cloning 2023-06-04 20:51:36 +02:00
grimhilt
f398347856 start clone get info folder 2023-06-04 18:12:47 +02:00