Changeset 15848 in project


Ignore:
Timestamp:
09/13/09 12:12:17 (10 years ago)
Author:
sjamaan
Message:

Rename node-cache-usage to get-cache-usage for consistency

Location:
release/4/estraier-client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/estraier-client/estraier-client.scm

    r15847 r15848  
    3636
    3737(module estraier-client
    38   (get-node-info node-cache-usage optimize-node sync-node document-uri->id
     38  (get-node-info get-cache-usage optimize-node sync-node document-uri->id
    3939   list-documents put-document delete-document get-document
    4040   update-attributes document-attribute document-keywords find-documents
     
    109109         (guest-users . ,guests))))))
    110110
    111 (define (node-cache-usage base-uri node)
     111(define (get-cache-usage base-uri node)
    112112  (string->number (exec (node-uri base-uri node "cacheusage") #f read-line)))
    113113
  • release/4/estraier-client/tests/run.scm

    r15847 r15848  
    5656          '() (alist-ref 'admin-users info)))
    5757  (test "Cache usage starts out empty"
    58         0.0 (node-cache-usage base-uri "testnode"))
     58        0.0 (get-cache-usage base-uri "testnode"))
    5959  (test "Document list starts out empty"
    6060        '() (list-documents base-uri "testnode"))
Note: See TracChangeset for help on using the changeset viewer.