1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00
Files
winscp/dotnet/interfaces/IRemoteFileInfo.cs
Martin Prikryl d2288224e4 Letter casing in directory name
Source commit: 860662847b1341c210f1a3f863a8e823ff915a8c
2026-10-16 11:26:00 +02:00

47 lines
1.2 KiB
C#

using System;
namespace WinSCP
{
public interface IRemoteFileInfo
{
string Name { get; }
string FullName { get; }
char FileType { get; }
long Length { get; }
int Length32 { get; set; }
DateTime LastWriteTime { get; }
FilePermissions FilePermissions { get; }
string Owner { get; }
string Group { get; }
bool IsDirectory { get; }
bool IsThisDirectory { get; }
bool IsParentDirectory { get; }
}
public interface IRemoteDirectoryInfo
{
RemoteFileInfoCollection Files { get; }
}
public interface IFilePermissions
{
string Text { get; set; }
string Octal { get; set; }
int Numeric { get; set; }
bool UserExecute { get; set; }
bool UserRead { get; set; }
bool UserWrite { get; set; }
bool GroupExecute { get; set; }
bool GroupRead { get; set; }
bool GroupWrite { get; set; }
bool OtherExecute { get; set; }
bool OtherRead { get; set; }
bool OtherWrite { get; set; }
bool Sticky { get; set; }
bool SetUid { get; set; }
bool SetGid { get; set; }
}
}