fairDataSociety / fdp-storage

Serverless Web3 filesystem for organizing users' personal data implemented in Typescript.

Home Page:https://www.npmjs.com/package/@fairdatasociety/fdp-storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validation of Pod, filename, and directory names

IgorShadurin opened this issue · comments

Hi there,

I have a question regarding the naming conventions for pods, directories, and files within the project. I am wondering what attributes should be considered when determining the name, maximum size, and allowed characters for these items. Additionally, I am curious about the maximum nesting of directories and files.

As far as I understand, it is important that these naming conventions be compatible with popular operating systems. Is there a standard that covers these requirements?

Any thoughts or suggestions would be greatly appreciated. Thank you!

@nugaon @tfius @molekilla @crtahlin @asabya

@asabya any kind of limits stem from FUSE compatilibity, to work on all OSes?

basically we are fucked... and we should take the best of them all, most versatile, break things and make them as they should be

Simply put, file or folder names can have these character sets

Uppercase A to Z
Lowercase a to z
Numbers 0 to 9
Period (.)
Underscore (_)
Hyphen (-)

taken from here.

We follow / on POSIX for path separator.