Roxen.git / server / etc / test / modules / TEST.pmod / http.pmod / WebDAV.pmod / TestBase.pike

version» Context lines:

Roxen.git/server/etc/test/modules/TEST.pmod/http.pmod/WebDAV.pmod/TestBase.pike:253:   protected void low_unlock(string path, mapping(string:string) locks)   {    m_delete(locks, path);    m_delete(all_locks, path);   }      protected void low_recursive_unlock(string path, mapping(string:string) locks)   {    foreach(indices(locks), string lock_path) {    if (has_prefix(lock_path, path)) { -  low_unlock(path, locks); +  low_unlock(lock_path, locks);    }    }    foreach(indices(all_locks), string lock_path) {    if (has_prefix(lock_path, path)) { -  low_unlock(path, locks); +  low_unlock(lock_path, locks);    }    }   }      protected void webdav_unlock_all()   {    foreach (all_locks; string path; string lock) {    webdav_request("UNLOCK", path, ([ "lock-token": lock ]));    }   }