-
Notifications
You must be signed in to change notification settings - Fork 0
Get FileIndents
external help file: Detextive.dll-Help.xml Module Name: Detextive online version: https://msdn.microsoft.com/library/s064f8w2aspx schema: 2.0.0
Returns details about a file's indentation characters.
Get-FileIndents [-Path] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
{{ Fill in the Description }}
Get-FileIndents src\Detextive\GetFileIndentsCommand.fs
Path : A:\Detextive\src\Detextive\GetFileIndentsCommand.fs
Indents : Spaces
Mixed : 0
Tabs : 0
Spaces : 66
Other : 0
StringValue : A:\Detextive\src\Detextive\GetFileIndentsCommand.fs: Spaces
A file to test.
Type: String
Parameter Sets: (All)
Aliases: FullName
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False{{ Fill ProgressAction Description }}
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Path * `string`: The full path of the file. Indents * `IndentType`: The file's indent style: `None`, `Mixed`, `Tabs`, `Spaces`, or `Other`. Mixed * `int`: The number of lines indented with multiple inconsistent indent characters (like spaces and tabs together). Tabs * `int`: The number of lines indented with tabs. Spaces * `int`: The number of lines indented with spaces. Other * `int`: The number of lines indented with non-space, non-tab whitespace. This means something unusual such as U+00A0 NO-BREAK SPACE, U+2003 EM SPACE, U+200A HAIR SPACE or any other weird, unexpected space character. StringValue * `string`: A summary of the file indents.