Roxen.git / server / base_server / configuration.pike

version» Context lines:

Roxen.git/server/base_server/configuration.pike:2524:    id->misc->internal_get = orig_internal_get;    return res;   }      protected string combine_combiners(string s)   {    if (String.width(s) <= 8) return s;    return Unicode.normalize(s, "NFC");   }    + //! Get a directory listing for the virtual path @[file]. + //! + //! @param file + //! Path in the virtual filesystem. + //! + //! @param id + //! @[RequestID] for the request. + //! + //! @param verbose + //! Also list virtual lock files. + //! + //! @returns + //! Returns an array with all visible files in the specified + //! directory if it exists, and @expr{0@} (zero) otherwise. + //! Any filesystem encoding of the filenames has been decoded, + //! and they have also been Unicode-NFC normalized.   array(string) find_dir(string file, RequestID id, void|int(0..1) verbose)   {    array dir;    TRACE_ENTER(sprintf("List directory %O.", file), 0);       if(!sizeof (file) || file[0] != '/')    file = "/" + file;      #ifdef URL_MODULES   #ifdef THREADS