|
@@ -630,6 +630,16 @@ begin
|
|
|
{$endif}
|
|
|
end;
|
|
|
|
|
|
+function TUnicodeSearchRec.IsDirectory: Boolean;
|
|
|
+begin
|
|
|
+ Result:=(Attr and faDirectory)<>0;
|
|
|
+end;
|
|
|
+
|
|
|
+function TUnicodeSearchRec.IsCurrentOrParentDir: Boolean;
|
|
|
+begin
|
|
|
+ Result:=IsDirectory and ((Name='.') or (Name='..'));
|
|
|
+end;
|
|
|
+
|
|
|
{ TRawbyteSearchRec }
|
|
|
|
|
|
function TRawbyteSearchRec.GetTimeStamp: TDateTime;
|
|
@@ -641,6 +651,16 @@ begin
|
|
|
{$endif}
|
|
|
end;
|
|
|
|
|
|
+function TRawbyteSearchRec.IsDirectory: Boolean;
|
|
|
+begin
|
|
|
+ Result:=(Attr and faDirectory)<>0;
|
|
|
+end;
|
|
|
+
|
|
|
+function TRawbyteSearchRec.IsCurrentOrParentDir: Boolean;
|
|
|
+begin
|
|
|
+ Result:=IsDirectory and ((Name='.') or (Name='..'));
|
|
|
+end;
|
|
|
+
|
|
|
{ TUnicodeSymLinkRec }
|
|
|
|
|
|
function TUnicodeSymLinkRec.GetTimeStamp: TDateTime;
|