httpdirfs/src
Jonathan Kamens fc857d6b68 Do the right thing with sites that require the final slash
Some web sites will return 404 if you fetch a directory without the
final slash. For example, https://archive.mozilla.org/pub/ works,
https://archive.mozilla.org/pub does not. We need to do two things to
accommodate this:

* When processing the root URL of the filesystem, instead of stripping
  off the final slash, just set the offset to ignore it.
* In the link structure, store the actual URL tail of the link
  separately from its name, final slash and all if there is one, and
  append that instead of the name when constructing the URL for curl.
2023-09-03 14:55:25 -04:00
..
README.md changed indentation style 2021-08-31 11:18:39 +01:00
cache.c fix typo 2023-01-28 12:02:31 -05:00
cache.h periodic backup 2021-09-04 03:00:25 +01:00
config.c Add setting to refresh directory contents (#114) 2023-03-31 13:26:15 +01:00
config.h ran the code through formatter 2023-07-26 07:48:33 +08:00
fuse_local.c minor formatting changes for PR #114 2023-07-26 07:48:22 +08:00
fuse_local.h Tidied up some of the comments and formatting 2019-09-01 08:52:18 +01:00
link.c Do the right thing with sites that require the final slash 2023-09-03 14:55:25 -04:00
link.h Do the right thing with sites that require the final slash 2023-09-03 14:55:25 -04:00
log.c fixed --version switch 2022-04-23 02:49:16 +01:00
log.h Clean up for the master branch 2021-09-04 12:41:33 +01:00
main.c Add setting to refresh directory contents (#114) 2023-03-31 13:26:15 +01:00
memcache.c Clean up for the master branch 2021-09-04 12:41:33 +01:00
memcache.h Clean up for the master branch 2021-09-04 12:41:33 +01:00
network.c moved the location of error string 2021-09-04 13:37:45 +01:00
network.h started writing the ramcache 2021-09-04 01:28:01 +01:00
sonic.c ran the code through formatter 2023-07-26 07:48:33 +08:00
sonic.h Fix typos (#117) 2023-03-28 05:00:07 +01:00
util.c Correct error message in FREE(). 2022-11-01 01:59:03 +00:00
util.h more refactoring 2021-09-03 14:56:11 +01:00

README.md

Coding Convention

  • External variables: capital letters
  • Static global variables: lower case letters
  • Function names: TypeName_verb or verb_noun
  • Type names: camel case with the first letter capitalised, e.g. CamelCase
  • Indentation style: indent -kr -nut *.c *.h