mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 09:26:15 +02:00
pastojs: clean up
git-svn-id: trunk@41313 -
This commit is contained in:
parent
5b37a8fe6a
commit
818354b58f
@ -40,8 +40,8 @@ function FileIsInPath(const Filename, Path: string): boolean;
|
|||||||
function ChompPathDelim(const Path: string): string;
|
function ChompPathDelim(const Path: string): string;
|
||||||
function ExpandFileNamePJ(const FileName: string; {const} BaseDir: string = ''): string;
|
function ExpandFileNamePJ(const FileName: string; {const} BaseDir: string = ''): string;
|
||||||
function ExpandDirectory(const aDirectory: string): string;
|
function ExpandDirectory(const aDirectory: string): string;
|
||||||
function IsUNCPath(const {%H-}Path: String): Boolean;
|
function IsUNCPath(const Path: String): Boolean;
|
||||||
function ExtractUNCVolume(const {%H-}Path: String): String;
|
function ExtractUNCVolume(const Path: String): String;
|
||||||
function ExtractFileRoot(FileName: String): String;
|
function ExtractFileRoot(FileName: String): String;
|
||||||
function TryCreateRelativePath(
|
function TryCreateRelativePath(
|
||||||
const Dest: String; // Filename
|
const Dest: String; // Filename
|
||||||
|
@ -145,11 +145,13 @@ end;
|
|||||||
function IsUNCPath(const Path: String): Boolean;
|
function IsUNCPath(const Path: String): Boolean;
|
||||||
begin
|
begin
|
||||||
Result := false;
|
Result := false;
|
||||||
|
if Path='' then ;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function ExtractUNCVolume(const Path: String): String;
|
function ExtractUNCVolume(const Path: String): String;
|
||||||
begin
|
begin
|
||||||
Result := '';
|
Result := '';
|
||||||
|
if Path='' then ;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function FileIsWritable(const AFilename: string): boolean;
|
function FileIsWritable(const AFilename: string): boolean;
|
||||||
|
@ -146,11 +146,13 @@ end;
|
|||||||
function IsUNCPath(const Path: String): Boolean;
|
function IsUNCPath(const Path: String): Boolean;
|
||||||
begin
|
begin
|
||||||
Result := false;
|
Result := false;
|
||||||
|
if Path='' then ;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function ExtractUNCVolume(const Path: String): String;
|
function ExtractUNCVolume(const Path: String): String;
|
||||||
begin
|
begin
|
||||||
Result := '';
|
Result := '';
|
||||||
|
if Path='' then ;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function FileIsWritable(const AFilename: string): boolean;
|
function FileIsWritable(const AFilename: string): boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user