Ignore:
Timestamp:
09/15/05 10:47:14 (16 years ago)
Author:
piso
Message:

(defmethod describe-object ((object pathname) stream) ...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/describe.lisp

    r9235 r9976  
    22;;;
    33;;; Copyright (C) 2005 Peter Graves
    4 ;;; $Id: describe.lisp,v 1.3 2005-05-22 20:38:17 piso Exp $
     4;;; $Id: describe.lisp,v 1.4 2005-09-15 10:47:14 piso Exp $
    55;;;
    66;;; This program is free software; you can redistribute it and/or
     
    9090  (values))
    9191
     92(defmethod describe-object ((object pathname) stream)
     93  (format stream "~S is an object of type ~S:~%" object (type-of object))
     94  (format stream " HOST         ~S~%" (pathname-host object))
     95  (format stream " DEVICE       ~S~%" (pathname-device object))
     96  (format stream " DIRECTORY    ~S~%" (pathname-directory object))
     97  (format stream " NAME         ~S~%" (pathname-name object))
     98  (format stream " TYPE         ~S~%" (pathname-type object))
     99  (format stream " VERSION      ~S~%" (pathname-version object)))
     100
    92101(defmethod describe-object ((object standard-object) stream)
    93102  (%describe-object object stream)
Note: See TracChangeset for help on using the changeset viewer.