tocc
                                
                                
                                
                                    tocc copied to clipboard
                            
                            
                            
                        toccfs have problem with *no tag*
When calling tags statistics method in libtocc, it also returns a special tag: *no tag*. For the files which does not have any tags assigned to them.
toccfs calls this method to show tags as directories. It also tries to show *no tag*, which cause some errors like: cannot access /mnt/temp/*no tag*: No such file or directory.
The problem is with asterisks. toccfs should show another name instead of *no tag*. For example, _no tag_.
where exactly should i look to solve this issue ?
Take a look at FSHandler::get_related_tags method, in toccfs directory. This is where it get tags from libtocc.
I assign the issue to you.
To reproduce the error, import a file with no tag. i.e., import a file with CLI without --assign: tocc -b /opt/tocc-managed/ -i /home/aidin/test-file
Now, mount toccfs: toccfs /opt/tocc-managed/ /mnt/tocc/
Then, get the list of files: ls /mnt/tocc/
You will see that it complains about the /mnt/tocc/*no tag* file.