Category : filesystems

Context I have a Linux/Windows dualboot setup on my desktop which basically hosts same applications through docker, like: pihole Some applications under development (MySQL, PostgreSQL, expressJS api, angularJS frontend, VueJS frontend) I wish I could switch between OS in a transparent way so containers running on both of them would be exactly the same (sharing ..

Read more

I’m using the Microsoft Cloud Filter API to manage placeholders in my local directory, and when I rename a folder its state icon isn’t visually updated after I apply the CfSetInSyncState function to this folder. This folder contains a file that was previously copied from another placeholder from this cloned directory. I’ve applied several functions ..

Read more

This is a really quick question: what is the character encoding used in symbolic ref files like .git/HEAD, especially on Windows? Is it the same as the filesystem’s encoding? It sounds improbable, though, since I’ve heard before that Windows’ filesystem encoding is UTF-16 and ASCII control bytes 0x00..0x1F and 0x7F is prohibited in Git ref ..

Read more

Why std::filesystem::relative returns empty path for certain paths on Windows while boost::filesystem::relative behaves correctly ? [Note : I am bound to use std::filesystem::relative] Consider the following example, where path "V:configlib" exits and the base path "V:xyz" exists partially. auto stdres = std::filesystem::relative("V:configlib", "V:xyz"); –> o/p is "" auto boostres = boost::filesystem::relative("V:configlib", "V"xyz"); –>o/p is "..configlib" ..

Read more

Why does std::filesystem::relative() return an empty path for certain paths on Windows, while boost::filesystem::relative() behaves correctly? [Note : I am bound to use std::filesystem::relative()] Consider the following example, where path "V:configlib" exists and the base path "V:xyz" partially exists. auto stdres = std::filesystem::relative("V:configlib", "V:xyz"); // –> o/p is "" auto boostres = boost::filesystem::relative("V:configlib", "V:xyz"); // ..

Read more