Tag: file system

Articles and experiments related to file system.

The local-only web

In this post, I explore the potential of the File System Access API to create local-only web experiences. I discuss how this API, combined with tools like Logseq, allows for on-device data storage outside the browser sandbox. While exciting, I also acknowledge the current limitations, such as the need to re-grant file access on refresh, the lack of a visual indicator for local-only sites, and the difficulty of preventing data exfiltration entirely. Despite these challenges, I believe this area holds significant potential and deserves further exploration.

Read article

Google Search Query: how to know if a certain file is a folder in c#

This post answers the question of how to determine if a given file path in C# is a directory. It explains how to use the File.GetAttributes() method and the FileAttributes.Directory property to check for the directory attribute. The post provides a boolean expression ((File.GetAttributes(path) & FileAttributes.Directory) == FileAttributes.Directory) to effectively perform this check.

Read article

Stay in the loop.

I'm trialing a newsletter. Join for monthly insights into web dev, Chrome, and the open web.

alternate_email

Get in touch

Open to chat about Chrome or Web development.

Book a consultation