showdoc icon indicating copy to clipboard operation
showdoc copied to clipboard

同级目录创建两个相同文件夹名称的问题

Open chynn0529 opened this issue 1 year ago • 4 comments

同一目录下能够创建两个完全一样的文件夹名称,未进行创建文件夹名称时的校验工作,请修复,谢谢!

chynn0529 avatar May 29 '24 08:05 chynn0529

这在技术上是允许的。看人为的规范要不要这么做。

chynn @.***> 于2024年5月29日周三 16:26写道:

同一目录下能够创建两个完全一样的文件夹名称,未进行创建文件夹名称时的校验工作,请修复,谢谢!

— Reply to this email directly, view it on GitHub https://github.com/star7th/showdoc/issues/2200, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQZHLUH3RIWKDAE4DDTZVDZEWGMXAVCNFSM6AAAAABIONVWLGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDENRZGU4DKMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

star7th avatar May 29 '24 08:05 star7th

建议你们自己做好规范

Chen Xing @.***> 于2024年5月29日周三 16:27写道:

这在技术上是允许的。看人为的规范要不要这么做。

chynn @.***> 于2024年5月29日周三 16:26写道:

同一目录下能够创建两个完全一样的文件夹名称,未进行创建文件夹名称时的校验工作,请修复,谢谢!

— Reply to this email directly, view it on GitHub https://github.com/star7th/showdoc/issues/2200, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQZHLUH3RIWKDAE4DDTZVDZEWGMXAVCNFSM6AAAAABIONVWLGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDENRZGU4DKMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

star7th avatar May 29 '24 08:05 star7th

是不是跟操作系统的文件系统相统一会好一些,要不然感觉怪怪的。

Extra:这个问题应该跟你最后 md5串 保存markdown文件名称有些关系。你看你用了md5串唯一文件名,然后在另一文件中将md5串与实际的文件名对应,把所有的md文件全部都放到了showdoc同一目录下。 你能告诉我 你为什么要md5唯一化文件名吗

chynn0529 avatar May 29 '24 09:05 chynn0529

php在linxu服务器上有时候操作中文名、尤其是包括特殊字符(比如空格)之类的时候有问题。所以我不打算花精力去处理。 showdoc导出的压缩包主要是为了能重新导入showdoc(比如迁移服务器等),不考虑太多人为阅读的因素。

star7th avatar May 29 '24 09:05 star7th