[freenet-dev] Double slashes considered harmful?

2005-10-26 Thread Matthew Toseland
Major simplification: The search below is only necessary because we might want to access an archive with no metadata. If we require that there is always a metadata manifest, we can just look it up in the manifest, rather than in the cache (with the uncertainty that produces). If we are going to do

[freenet-dev] Double slashes considered harmful?

2005-10-26 Thread Matthew Toseland
It has been suggested on several occasions that // is ugly. Unix-derived tools usually expect that // means /. So, what if we use / ?: Archive manifests and metadata manifests are required to be consistent. Meaning no two files have the same name, and no directory has the same name as any file. T

Re: [freenet-dev] Double slashes considered harmful?

2005-10-26 Thread Matthew Toseland
Major simplification: The search below is only necessary because we might want to access an archive with no metadata. If we require that there is always a metadata manifest, we can just look it up in the manifest, rather than in the cache (with the uncertainty that produces). If we are going to do

[freenet-dev] Double slashes considered harmful?

2005-10-26 Thread Matthew Toseland
It has been suggested on several occasions that // is ugly. Unix-derived tools usually expect that // means /. So, what if we use / ?: Archive manifests and metadata manifests are required to be consistent. Meaning no two files have the same name, and no directory has the same name as any file. T